Explorar o código

tests: update sentence length test

Kosma Moczek %!s(int64=3) %!d(string=hai) anos
pai
achega
476a8dd63e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tests.c

+ 2 - 2
tests.c

@@ -18,6 +18,8 @@
 
 static const char *valid_sentences_nochecksum[] = {
     "$GPTXT,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
+    "$GPTXT,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+        "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
     "$GPTXT,hello\n",
     "$GPTXT,hello\r",
     "$GPTXT,hello\r\n",
@@ -51,8 +53,6 @@ static const char *valid_sentences_checksum[] = {
 };
 
 static const char *invalid_sentences[] = {
-    "$GPTXT,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
-        "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
     "$GPTXT,01,01,02,ANTSTATUS=INIT*26",
     "$GPRMC,,V,,,,,,,,,,N*532",
     "$GPVTG,,,,\xff,,,,,N*30",