Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelb committed Sep 11, 2021
1 parent 8dd0f1c commit 77b5dec
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/interpreters/Python3_original.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ mod test_python3_original {
#[test]
fn run_all() {
simple_print();
print_quote();
// test_repl();
}
fn simple_print() {
Expand All @@ -322,17 +321,7 @@ mod test_python3_original {
let string_result = res.unwrap();
assert_eq!(string_result, "lol 1\n");
}
fn print_quote() {
let mut data = DataHolder::new();
data.current_bloc = String::from("print(\"->\\\"\",1);");
let mut interpreter = Python3_original::new(data);
let res = interpreter.run_at_level(SupportLevel::Bloc);

// should panic if not an Ok()
let string_result = res.unwrap();
assert_eq!(string_result, "->\" 1\n");
}


fn test_repl() {
let mut event_handler = fake_event();
event_handler.fill_data(&fake_msgpack());
Expand Down

0 comments on commit 77b5dec

Please sign in to comment.