Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Jan 22, 2025
1 parent b3f58db commit 6f35b1b
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions crates/cli/tests/run_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,11 @@ mod hashing {
// Hashes change because `.moon/workspace.yml` is different from `walk_strategy`
assert_eq!(
hash_vcs,
"3b3d2d556cfc82c7834975dbed40741e27541a30244dfdc4835edd9503539d55"
"2b8160e1fae996d3fcd1cf4ce888a7888a0e08d7b6d9d9f2adfecc356e86040b"
);
assert_eq!(
hash_glob,
"59ec46f239f4ad40e2bea9fb0cb26f69b55b985b027845e40f41db087e842f38"
"78edc25dadbeae8b2d41073611c686ead7f1c3690b887c45822faa4310cfb573"
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ A template for testing all variable config combinations.
Error: codegen::args::parse_failed

× Failed to parse variables from arguments.
╰─▶ × invalid value 'abc' for '--number <number>': invalid digit found in
string
╰─▶ × invalid value 'abc' for '--number <number>': invalid digit found
in string
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ tasks:
lint:
command:
- eslint
- .
- '.'
toolchain: node
lint-fix:
command:
- moon
- run
- common:lint
- --
- --fix
- '--'
- '--fix'
toolchain: node
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ tasks:
build:
command:
- babel
- ./src
- --out
- ./lib
- './src'
- '--out'
- './lib'
outputs:
- lib
toolchain: node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ source: crates/cli/tests/run_test.rs
expression: "[h1, h2, extract_hash_from_run(sandbox.path(), \"outputs:asDep\"),\nextract_hash_from_run(sandbox.path(), \"outputs:withDeps\")]"
---
[
"81670f2e4bc28898288815ee075a8653bb264bf8dcf7fa0246f87e50054c950f",
"1034518a27b7197ff81b5393a98270ca94283e26cdaf61ec370ccbcd5f92112c",
"c2f65dfed7824b8da4986ed97bf2c6c6ce1914b387da407da66c19f7c61571d8",
"e672d267073a26f1d9cf14eaa1136a02c3c588e93ba3792f8f7dc47c49b0cf24",
"9b83821644418128b97f4ca80ea38d073f7531d5704c09dc4ddf0118e3df8cbf",
"1e0aa381a5657c612d921b945b4ada7c2176b62ef9f336e4f7d9cab121a270f9",
"f01e61ef51d40759363813b476a8b3b53d8ecdbe3f575708388d50cbfc390d1b",
"b888471e3a4d5ebfd469efe4a77ab0d8dfe0655efc3f0743b94c3f8738cda5f7",
]
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ source: crates/cli/tests/run_test.rs
expression: "[extract_hash_from_run(sandbox.path(), \"outputs:asDep\"),\nextract_hash_from_run(sandbox.path(), \"outputs:withDeps\")]"
---
[
"81670f2e4bc28898288815ee075a8653bb264bf8dcf7fa0246f87e50054c950f",
"1034518a27b7197ff81b5393a98270ca94283e26cdaf61ec370ccbcd5f92112c",
"9b83821644418128b97f4ca80ea38d073f7531d5704c09dc4ddf0118e3df8cbf",
"1e0aa381a5657c612d921b945b4ada7c2176b62ef9f336e4f7d9cab121a270f9",
]
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ expression: assert.output()
Tasks: 2 completed
Time: 100ms

f75fedb1391ec68b3bc9dcc5cd1908bb4ee36793de49fe538185fc077cd38149
091875657f8b955944c45803b2e13d536f257648e04cca859a0c38700b94764f

0 comments on commit 6f35b1b

Please sign in to comment.