Removed in_the_past_this_used_to_crash_but_not_anymore test

This commit is contained in:
Erin 2021-10-19 23:35:46 +02:00 committed by ondra05
parent 6779d7c898
commit 3e8b80af2a

View file

@ -448,13 +448,4 @@ mod tests {
fn negative_integer_overflow() { fn negative_integer_overflow() {
interpret_with_io(b"-", std::io::empty(), std::io::sink()).unwrap(); interpret_with_io(b"-", std::io::empty(), std::io::sink()).unwrap();
} }
#[test]
fn in_the_past_this_used_to_crash_but_not_anymore() {
let mut interpreter = Interpreter::from_ascii(
b"[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>[-]++>[-]>[-]<<<[>>>+<<<-]>>>[<<[<+>>+<-]>[<+>-]>-]<<<------------>>++++++++++<<[->+>-[>+>>]>[+[-<+>]>+>>]<<<<<<]>>[-]>>>++++++++++<[->-[>+>>]>[+[-<+>]>+>>]<<<<<]>[-]>>[>++++++[-<++++++++>]<.<<+>+>[-]]<[<[->-<]++++++[->++++++++<]>.[-]]<<++++++[-<++++++++>]<.[-]<<[-<+>]<",
std::io::empty()
);
interpreter.interpret_with_output(std::io::sink()).unwrap();
}
} }