Skip to content

Commit

Permalink
chore: add new line to file - nix
Browse files Browse the repository at this point in the history
  • Loading branch information
nerodesu017 committed Jan 13, 2025
1 parent 3212bd6 commit 750e5b6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/specification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

1. `git submodule update --init` to fetch the testsuite submodule
1. Edit the `mod.rs` file to your liking
- This means you can include and exclude files and folders as you wish (only one of these two filters can be active at any one point)

- Example:
- This means you can include and exclude files and folders as you wish (only one of these two filters can be active at any one point)
- Example:

```rs
#[test_log::test]
Expand All @@ -19,7 +18,7 @@ pub fn spec_tests() {
let filters = Filter::Include(FnF {
folders: Some(vec!["proposals".to_string()]), // include only folders you want
});

// then get the paths of the files and you are good to go
let paths = get_wast_files(Path::new("./tests/specification/testsuite/"), &filters)
.expect("Failed to find testsuite");
Expand Down Expand Up @@ -56,4 +55,4 @@ pub fn spec_tests() {
successful_reports, failed_reports, compile_error_reports
);
}
```
```

0 comments on commit 750e5b6

Please sign in to comment.