I’m stuck on Stage #KJ0.
For the testcase 1234.1234.1234.
The expected output is
NUMBER 1234.1234 1234.1234
DOT . null
I’m not able to understand the output.
The digits from the 2nd .
are ignored, but the last .
is still processed ?
I’m stuck on Stage #KJ0.
For the testcase 1234.1234.1234.
The expected output is
NUMBER 1234.1234 1234.1234
DOT . null
I’m not able to understand the output.
The digits from the 2nd .
are ignored, but the last .
is still processed ?
i second that.
[tester::#KJ0] [test-2] [test.lox] 1234.1234.1234.
[tester::#KJ0] [test-2] $ ./your_program.sh tokenize test.lox
[your_program] NUMBER 1234.1234.1234.0 1234.1234.1234.0
[your_program] EOF null
[tester::#KJ0] [test-2] 𐄂 NUMBER 1234.1234.1234.0 1234.1234.1234.0
[tester::#KJ0] [test-2] Expected line #1 on stdout to be “NUMBER 1234.1234 1234.1234”, got “NUMBER 1234.1234.1234.0 1234.1234.1234.0”
I thrid that
remote: [tester::#KJ0] [test-2] [test.lox] 1234.1234.1234.
remote: [tester::#KJ0] [test-2] $ ./your_program.sh tokenize test.lox
remote: [your_program] NUMBER 1234.1234 1234.1234
remote: [your_program] NUMBER 1234.0 1234.0
remote: [your_program] EOF null
remote: [tester::#KJ0] [test-2] ✓ NUMBER 1234.1234 1234.1234
remote: [tester::#KJ0] [test-2] 𐄂 NUMBER 1234.0 1234.0
remote: [tester::#KJ0] [test-2] Expected line #2 on stdout to be “DOT . null”, got “NUMBER 1234.0 1234.0”
remote: [tester::#KJ0] [test-2] Test failed
Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.