MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_expr_literals

Function test_expr_literals

core/src/parser.rs:2988–2993  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2986
2987 #[test]
2988 fn test_expr_literals() {
2989 do_expr_ok_test("TRUE", expr_boolean(true, 1, 7));
2990 do_expr_ok_test("FALSE", expr_boolean(false, 1, 7));
2991 do_expr_ok_test("5", expr_integer(5, 1, 7));
2992 do_expr_ok_test("\"some text\"", expr_text("some text", 1, 7));
2993 }
2994
2995 #[test]
2996 fn test_expr_symbols() {

Callers

nothing calls this directly

Calls 4

do_expr_ok_testFunction · 0.85
expr_booleanFunction · 0.85
expr_integerFunction · 0.85
expr_textFunction · 0.85

Tested by

no test coverage detected