Fix old .ktn file includes

This commit is contained in:
mars 2022-02-28 13:20:04 -07:00
parent 889e078328
commit bc4d58ffa2
1 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ mod tests {
#[test]
fn lex_file() {
let source = include_str!("ast_fn.ktn");
let source = include_str!("ast_fn.fae");
let theme = ColorTheme::new();
let mut lex = lexer::Lexer::new(source);
@ -56,7 +56,7 @@ mod tests {
// TODO use spans to color-code instead of raw tokens, to show original whitespace
/*#[test]
fn color_file() {
let source = include_str!("../example.ktn");
let source = include_str!("../example.fae");
let theme = ColorTheme::new();
let mut lex = Token::lexer(source);
@ -74,16 +74,16 @@ mod tests {
#[test]
fn ast_fn() {
print_ast(include_str!("ast_fn.ktn"));
print_ast(include_str!("ast_fn.fae"));
}
#[test]
fn ast_struct() {
print_ast(include_str!("ast_struct.ktn"));
print_ast(include_str!("ast_struct.fae"));
}
#[test]
fn ast_example() {
print_ast(include_str!("../example.ktn"));
print_ast(include_str!("../example.fae"));
}
}