()
| 17 | |
| 18 | #[test] |
| 19 | fn test_print_42() { |
| 20 | Interpreter::without_stdlib(Default::default()).enter(|vm| { |
| 21 | let source = String::from("print('Hello world')"); |
| 22 | let vars = vm.new_scope_with_builtins(); |
| 23 | let result = eval(vm, &source, vars, "<unittest>").expect("this should pass"); |
| 24 | assert!(vm.is_none(&result)); |
| 25 | }) |
| 26 | } |
| 27 | } |
nothing calls this directly
no test coverage detected