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

Function test_tabs

core/src/lexer.rs:853–863  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

851
852 #[test]
853 fn test_tabs() {
854 do_ok_test("\t33", &[ts(Token::Integer(33), 1, 9, 2), ts(Token::Eof, 1, 11, 0)]);
855 do_ok_test(
856 "1234567\t8",
857 &[
858 ts(Token::Integer(1234567), 1, 1, 7),
859 ts(Token::Integer(8), 1, 9, 1),
860 ts(Token::Eof, 1, 10, 0),
861 ],
862 );
863 }
864
865 /// Syntactic sugar to instantiate a `VarRef` without an explicit type annotation.
866 fn new_auto_symbol(name: &str) -> Token {

Callers

nothing calls this directly

Calls 2

tsFunction · 0.85
do_ok_testFunction · 0.70

Tested by

no test coverage detected