Skip to content

Commit

Permalink
Change dummy file contents
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed Mar 21, 2024
1 parent 3d14aba commit 6397cf2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,13 +395,13 @@ mod tests {
-- left/txt --
Some text
-- edit/randomfile --
Doesn't matter what goes here
This file exists solely to create the `edit/` dir
"});
insta::assert_yaml_snapshot!(showdir(tmp_dir.path()), @r###"
---
edit/randomfile:
type: Text
value: "Doesn't matter what goes here\n"
value: "This file exists solely to create the `edit/` dir\n"
left/txt:
type: Text
value: "Some text\n"
Expand All @@ -413,7 +413,7 @@ mod tests {
- type: Missing
- type: Missing
- type: Text
value: "Doesn't matter what goes here\n"
value: "This file exists solely to create the `edit/` dir\n"
txt:
- type: Text
value: "Some text\n"
Expand All @@ -429,7 +429,7 @@ mod tests {
- type: Missing
- type: Missing
- type: Text
value: "Doesn't matter what goes here\n"
value: "This file exists solely to create the `edit/` dir\n"
txt:
- type: Text
value: "Some text\n"
Expand All @@ -438,7 +438,7 @@ mod tests {
value: somevalue
"###);
// TODO: If the file is missing on RHS, an empty save should mean that the file
// should stay (or be) deleted.
// should be deleted.
let () = input
.save(IndexMap::from([string_pair("txt", "")]))
.unwrap();
Expand All @@ -448,7 +448,7 @@ mod tests {
- type: Missing
- type: Missing
- type: Text
value: "Doesn't matter what goes here\n"
value: "This file exists solely to create the `edit/` dir\n"
txt:
- type: Text
value: "Some text\n"
Expand Down

0 comments on commit 6397cf2

Please sign in to comment.