Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests currently broken on Windows (due to difference in file paths) #4

Open
NHDaly opened this issue Jul 25, 2022 · 1 comment
Open

Comments

@NHDaly
Copy link
Member

NHDaly commented Jul 25, 2022

@NHDaly
Copy link
Member Author

NHDaly commented Jul 25, 2022

Testing Running tests...
test1: Test Failed at D:\a\SnapshotTesting.jl\SnapshotTesting.jl\src\snapshots.jl:55
  Expression: subpath in new_files
   Evaluated: "\\a" in Set(["a"])
Stacktrace:
 [1] macro expansion
   @ C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Test\src\Test.jl:[44](https://github.com/NHDaly/SnapshotTesting.jl/runs/7491708728?check_suite_focus=true#step:6:47)5 [inlined]
 [2] _recursive_diff_dirs(expected_dir::String, new_dir::String; allow_additions::Bool)
   @ SnapshotTestingD:\a\SnapshotTesting.jl\SnapshotTesting.jl\src\snapshots.jl:55
┌ Error: New snapshot is missing file `\a`. Expected contents:
│   expected_content = "hello"
└ @ SnapshotTesting D:\a\SnapshotTesting.jl\SnapshotTesting.jl\src\snapshots.jl:57
┌ Error: New snapshot is missing file `\a`. Expected contents:
│   expected_content = "hello"
└ @ SnapshotTesting D:\a\SnapshotTesting.jl\SnapshotTesting.jl\src\snapshots.jl:57
┌ Error: New snapshot contains unexpected files. If this is not an error in your
│                 case, pass `allow_additions = true`.
└ @ SnapshotTesting D:\a\SnapshotTesting.jl\SnapshotTesting.jl\src\snapshots.jl:76
┌ Error: File: `a` contents:
│   new_content = "this file is different"
└ @ SnapshotTesting D:\a\SnapshotTesting.jl\SnapshotTesting.jl\src\snapshots.jl:83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant