Skip to content

Commit

Permalink
fixed the tokenizer to run faster
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Nov 7, 2023
1 parent 6e2ddf0 commit fb881ec
Show file tree
Hide file tree
Showing 8 changed files with 247 additions and 379 deletions.
4 changes: 2 additions & 2 deletions src/bin/parser-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() {
tests_failed: Vec::new(),
};

let filenames = Some(&["html5test-com.dat"][..]);
let filenames = Some(&["tests15.dat"][..]);
let fixtures = read_fixtures(filenames).expect("fixtures");

for fixture_file in fixtures {
Expand All @@ -41,7 +41,7 @@ fn main() {

let mut test_idx = 1;
for test in fixture_file.tests {
if test_idx == 14 {
if test_idx == 10 {
run_test(test_idx, test, &mut results);
}
test_idx += 1;
Expand Down
Loading

0 comments on commit fb881ec

Please sign in to comment.