()
| 71 | |
| 72 | #[test] |
| 73 | fn mark_global_and_query() { |
| 74 | let mut st = SymbolTable::new(); |
| 75 | st.define("main", 0); |
| 76 | st.mark_global("main"); |
| 77 | assert!(st.globals().contains(&"main".to_owned())); |
| 78 | } |
| 79 | |
| 80 | #[test] |
| 81 | fn globals_no_duplicates() { |
nothing calls this directly
no test coverage detected