mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-14 22:38:46 +00:00
Lots of improvements.
* Better script names and grammar fix. * Bump Rust * Enforce more lints. * Improve few struct definitions by removing box. * Many minor implementation improvements.
This commit is contained in:
@@ -205,9 +205,9 @@ fn test_examples_asmgen_small() {
|
||||
test_dir(Path::new(dir), OsStr::new("ir"), |path| {
|
||||
let file_name = &path
|
||||
.file_name()
|
||||
.expect("`path` must have file name")
|
||||
.expect("`path` must have a file name")
|
||||
.to_str()
|
||||
.expect("must be transformed to `&str`");
|
||||
.expect("must be transformable to `&str`");
|
||||
if !ASMGEN_SMALL_TEST_IGNORE_LIST.contains(file_name) {
|
||||
test_asmgen(path)
|
||||
}
|
||||
@@ -221,9 +221,9 @@ fn test_examples_asmgen_large() {
|
||||
test_dir(Path::new(dir), OsStr::new("ir"), |path| {
|
||||
let file_name = &path
|
||||
.file_name()
|
||||
.expect("`path` must have file name")
|
||||
.expect("`path` must have a file name")
|
||||
.to_str()
|
||||
.expect("must be transformed to `&str`");
|
||||
.expect("must be transformable to `&str`");
|
||||
if ASMGEN_SMALL_TEST_IGNORE_LIST.contains(file_name) {
|
||||
test_asmgen(path)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user