mirror of
https://github.com/SpaceManiac/SpacemanDMM.git
synced 2025-12-23 05:36:47 +00:00
Update error positions in tests
This commit is contained in:
parent
ed98cd63d9
commit
367bcdd75f
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ extern crate dreamchecker as dc;
|
|||
use dc::test_helpers::*;
|
||||
|
||||
pub const SWITCH_RAND_INCOMPLETE_ERRORS: &[(u32, u16, &str)] = &[
|
||||
(5, 9, "Case range '0 to 0' will never trigger as it is outside the rand() range 1 to 3"),
|
||||
(4, 19, "Case range '0 to 0' will never trigger as it is outside the rand() range 1 to 3"),
|
||||
(2, 5, "Switch branches on rand() with range 1 to 3 but no case branch triggers for 3"),
|
||||
];
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ fn switch_rand_case_ranges() {
|
|||
|
||||
|
||||
pub const SWITCH_RAND_DEFAULT_ERRORS: &[(u32, u16, &str)] = &[
|
||||
(5, 9, "Case range '5 to 5' will never trigger as it is outside the rand() range 1 to 4"),
|
||||
(4, 19, "Case range '5 to 5' will never trigger as it is outside the rand() range 1 to 4"),
|
||||
];
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue