Skip to content

Commit a2b7980

Browse files
authored
Merge pull request #13247 from jamesbeyond/greentea_fix
GreenTea: Fix inconsistency of Greentea KV message
2 parents be7571e + 48d78c6 commit a2b7980

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/frameworks/greentea-client/source/greentea_test_env.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ static int gettok(char *out_str, const int str_size) {
740740
if (LastChar == '}') {
741741
LastChar = greentea_getc();
742742
if (LastChar == '}') {
743+
greentea_getc(); //offset the extra '\n' send by Greentea python tool
743744
LastChar = '!';
744745
return tok_close;
745746
}

0 commit comments

Comments
 (0)