Skip to content

Commit

Permalink
Merge pull request cosmicpython#309 from mvtenorio/patch-1
Browse files Browse the repository at this point in the history
Fix wrong function name
  • Loading branch information
hjwp authored Jul 30, 2020
2 parents 9582b7f + 934b964 commit 7d0c123
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapter_03_abstractions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def test_when_a_file_exists_in_the_source_but_not_the_destination():
filesystem = FakeFileSystem()
reader = {"/source": source, "/dest": dest}
synchronise_dirs(reader.pop, filesystem, "/source", "/dest")
sync(reader.pop, filesystem, "/source", "/dest")
assert filesystem == [("COPY", "/source/my-file", "/dest/my-file")]
Expand All @@ -599,7 +599,7 @@ def test_when_a_file_has_been_renamed_in_the_source():
filesystem = FakeFileSystem()
reader = {"/source": source, "/dest": dest}
synchronise_dirs(reader.pop, filesystem, "/source", "/dest")
sync(reader.pop, filesystem, "/source", "/dest")
assert filesystem == [("MOVE", "/dest/original-file", "/dest/renamed-file")]
----
Expand Down

0 comments on commit 7d0c123

Please sign in to comment.