File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ func TestFormatEventLine(t *testing.T) {
120120 ContainerName : "localstack-aws" ,
121121 Uptime : 4 * time .Minute + 23 * time .Second ,
122122 },
123- want : "✓ LocalStack AWS Emulator is running (localhost.localstack.cloud:4566)\n UPTIME: 4m 23s · CONTAINER: localstack-aws · VERSION: 4.14.1" ,
123+ want : SuccessMarkerText () + " LocalStack AWS Emulator is running (localhost.localstack.cloud:4566)\n UPTIME: 4m 23s · CONTAINER: localstack-aws · VERSION: 4.14.1" ,
124124 wantOK : true ,
125125 },
126126 {
@@ -129,7 +129,7 @@ func TestFormatEventLine(t *testing.T) {
129129 EmulatorName : "LocalStack AWS Emulator" ,
130130 Host : "127.0.0.1:4566" ,
131131 },
132- want : "✓ LocalStack AWS Emulator is running (127.0.0.1:4566)" ,
132+ want : SuccessMarkerText () + " LocalStack AWS Emulator is running (127.0.0.1:4566)" ,
133133 wantOK : true ,
134134 },
135135 {
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ func TestPlainSink_EmitsInstanceInfoEvent(t *testing.T) {
163163 Uptime : 4 * time .Minute + 23 * time .Second ,
164164 })
165165
166- expected := "✓ LocalStack AWS Emulator is running (localhost.localstack.cloud:4566)\n UPTIME: 4m 23s · CONTAINER: localstack-aws · VERSION: 4.14.1\n "
166+ expected := SuccessMarkerText () + " LocalStack AWS Emulator is running (localhost.localstack.cloud:4566)\n UPTIME: 4m 23s · CONTAINER: localstack-aws · VERSION: 4.14.1\n "
167167 assert .Equal (t , expected , out .String ())
168168 assert .NoError (t , sink .Err ())
169169 })
@@ -177,7 +177,7 @@ func TestPlainSink_EmitsInstanceInfoEvent(t *testing.T) {
177177 Host : "127.0.0.1:4566" ,
178178 })
179179
180- expected := "✓ LocalStack AWS Emulator is running (127.0.0.1:4566)\n "
180+ expected := SuccessMarkerText () + " LocalStack AWS Emulator is running (127.0.0.1:4566)\n "
181181 assert .Equal (t , expected , out .String ())
182182 assert .NoError (t , sink .Err ())
183183 })
You can’t perform that action at this time.
0 commit comments