-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When running an egor batch run and you get a mismatch between the brute-force and the main implementation, the message is not displayed correctly, for example :
❯ egor batch run
Running test 1
Running test 2
Found diff:
Input:
1
6
6 1 5 1 3 4
Expected:
5
Got:
3
Checker failed, token 0 does not match: expected 3, got 5
This is due to the fact that the checker is called with the wrong order of arguments, the checker is expecting to be called check(got, expected) and its actually called check(expected, got)
See https://github.com/chermehdi/go-egor/blob/master/commands/batch.go#L227
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working