()
| 56 | |
| 57 | #[test] |
| 58 | fn valid_variable() { |
| 59 | let mut parser = Statement::new().unwrap(); |
| 60 | let mut context = Context::new(); |
| 61 | context.variables.insert("hello".to_string(), "world".into()); |
| 62 | let result = parser.parse_and_execute("[variables('hello')]", &context).unwrap(); |
| 63 | assert_eq!(result, "world"); |
| 64 | } |
| 65 | |
| 66 | #[test] |
| 67 | fn invalid_resourceid() { |
nothing calls this directly
no test coverage detected