mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-12 15:16:35 +00:00
spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
a591325e07
commit
fd3f8afe1a
4 changed files with 6 additions and 6 deletions
|
@ -255,7 +255,7 @@ No changes, only trying to get the automated build to work.
|
|||
|
||||
### Fixed bugs
|
||||
|
||||
- (#131) Fixed crash when `core.excludesFile` pointed to non-existent file, and
|
||||
- (#131) Fixed crash when `core.excludesFile` pointed to nonexistent file, and
|
||||
made leading `~/` in that config expand to `$HOME/`
|
||||
|
||||
## [0.3.0] - 2022-03-12
|
||||
|
|
|
@ -1744,7 +1744,7 @@ mod tests {
|
|||
index.resolve_prefix(&HexPrefix::new(id_2.hex()).unwrap()),
|
||||
PrefixResolution::SingleMatch(id_2)
|
||||
);
|
||||
// Test non-existent commits
|
||||
// Test nonexistent commits
|
||||
assert_eq!(
|
||||
index.resolve_prefix(&HexPrefix::new("ffffff".to_string()).unwrap()),
|
||||
PrefixResolution::NoMatch
|
||||
|
|
|
@ -318,10 +318,10 @@ fn test_resolve_symbol_git_refs() {
|
|||
RefTarget::Normal(commit3.id().clone()),
|
||||
);
|
||||
|
||||
// Non-existent ref
|
||||
// Nonexistent ref
|
||||
assert_eq!(
|
||||
resolve_symbol(mut_repo.as_repo_ref(), "non-existent", None),
|
||||
Err(RevsetError::NoSuchRevision("non-existent".to_string()))
|
||||
resolve_symbol(mut_repo.as_repo_ref(), "nonexistent", None),
|
||||
Err(RevsetError::NoSuchRevision("nonexistent".to_string()))
|
||||
);
|
||||
|
||||
// Full ref
|
||||
|
|
|
@ -45,7 +45,7 @@ fn test_print() {
|
|||
insta::assert_snapshot!(stdout, @r###"
|
||||
c
|
||||
"###);
|
||||
let stderr = test_env.jj_cmd_failure(&repo_path, &["print", "non-existent"]);
|
||||
let stderr = test_env.jj_cmd_failure(&repo_path, &["print", "nonexistent"]);
|
||||
insta::assert_snapshot!(stderr, @r###"
|
||||
Error: No such path
|
||||
"###);
|
||||
|
|
Loading…
Reference in a new issue