File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,12 @@ public function testFileOk()
70
70
for ($ i = 0 ; $ i < 100 ; $ i ++) { // keep for simple performance tests
71
71
$ errors = (new Parser ($ string ))->errors ();
72
72
}
73
-
74
73
$ this ->assertSame ([], $ errors );
74
+
75
+ $ data = json_encode ((new Parser ($ string ))->get ());
76
+ $ this ->assertContains ('Sup 1:10 ' , $ data );
77
+ $ this ->assertNotContains ('Konzentrat:o ' , $ data );
78
+ $ this ->assertContains ('"Rindfleischsuppe Konzentrat","o ' , $ data );
75
79
}
76
80
77
81
public function testFileError ()
Original file line number Diff line number Diff line change @@ -358,11 +358,11 @@ IMD+F++:::Apfelmus gezuckert 5/1 Dose:FM 4350g Adrian'
358
358
QTY+21:34:STK'
359
359
LIN+87++7288:SA'
360
360
PIA+5+6007288:IN::92'
361
- IMD+F++:::H�hnersuppe Konzentrat ohne:Einlage f Sup 1:10 und So� 1:6'
361
+ IMD+F++:::H�hnersuppe Konzentrat ohne:Einlage f Sup 1? :10 und So� 1? :6'
362
362
QTY+21:7:STK'
363
363
LIN+88++7289:SA'
364
364
PIA+5+6007289:IN::92'
365
- IMD+F++:::Rindfleischsuppe Konzentrat:o Einlage f�r Suppen 1:10'
365
+ IMD+F++:::Rindfleischsuppe Konzentrat:o Einlage f�r Suppen 1? :10'
366
366
QTY+21:8:STK'
367
367
LIN+89++7295:SA'
368
368
PIA+5+6007295:IN::92'
You can’t perform that action at this time.
0 commit comments