File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ TEST_F(StreamCommandTest, streams) {
46
46
.WillOnce (Return (path))
47
47
.WillOnce (Return (" END_STREAM" ));
48
48
49
- const String value (" {path: '/test/path' data: 'Test value'}" );
49
+ const String data = " Test Value" ;
50
+ const String value (String (" {\" path\" : \" /test/path\" , \" data\" : \" " ) + data + " \" }" );
50
51
EXPECT_CALL (*stream_, available ())
51
52
.WillOnce (Return (true ))
52
53
.WillRepeatedly (Return (false ));
@@ -66,9 +67,9 @@ TEST_F(StreamCommandTest, streams) {
66
67
EXPECT_CALL (out_, println (path))
67
68
.WillOnce (Return (1 ));
68
69
69
- EXPECT_CALL (out_, println (value .length ()))
70
+ EXPECT_CALL (out_, println (data .length ()))
70
71
.WillOnce (Return (1 ));
71
- EXPECT_CALL (out_, println (value ))
72
+ EXPECT_CALL (out_, println (data ))
72
73
.WillOnce (Return (1 ));
73
74
74
75
EXPECT_CALL (out_, println (String (" +OK" )))
You can’t perform that action at this time.
0 commit comments