MCPcopy Create free account
hub / github.com/hashintel/hash / parse_incomplete_expression

Function parse_incomplete_expression

libs/@local/hashql/syntax-jexpr/src/lib.rs:148–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146
147 #[test]
148 fn parse_incomplete_expression() {
149 // Another error case focusing on unexpected EOF
150 let error = parse_input(r#"["incomplete""#).expect_err("should fail on unexpected EOF");
151
152 with_settings!({
153 description => "End-to-end test of handling unexpected EOF"
154 }, {
155 assert_snapshot!(insta::_macro_support::AutoName, error);
156 });
157 }
158}

Callers

nothing calls this directly

Calls 1

parse_inputFunction · 0.85

Tested by

no test coverage detected