You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IIUC it's because darwin does not have subsecond resolution
Preprocessing test suite 'spec' for mockery-0.3.5..
Building test suite 'spec' for mockery-0.3.5..
[1 of 4] Compiling Test.Mockery.DirectorySpec ( test/Test/Mockery/DirectorySpec.hs, dist/build/spec/spec-tmp/Test/Mockery/DirectorySpec.o )
[2 of 4] Compiling Test.Mockery.EnvironmentSpec ( test/Test/Mockery/EnvironmentSpec.hs, dist/build/spec/spec-tmp/Test/Mockery/EnvironmentSpec.o )
[3 of 4] Compiling Test.Mockery.LoggingSpec ( test/Test/Mockery/LoggingSpec.hs, dist/build/spec/spec-tmp/Test/Mockery/LoggingSpec.o )
[4 of 4] Compiling Main ( test/Spec.hs, dist/build/spec/spec-tmp/Main.o )
Linking dist/build/spec/spec ...
running tests
Running 1 test suites...
Test suite spec: RUNNING...
Test.Mockery.Directory
withFile
creates a temporary file with the given contents
touch
creates an empty file
creates any missing directories
when file already exists
updates modification time FAILED [1]
does not modify file content
Test.Mockery.Environment
withEnvironment
runs the given action within the specified environment
restores the original environment
withModifiedEnvironment
runs the given action within a modified environment
restores the original environment
Test.Mockery.Logging
captureLogs
returns all log messages of an action
restores the original log sink
Failures:
test/Test/Mockery/DirectorySpec.hs:42:13:
1) Test.Mockery.Directory.touch, when file already exists, updates modification time
predicate failed on: 2020-07-06 08:40:20 UTC
To rerun use: --match "/Test.Mockery.Directory/touch/when file already exists/updates modification time/"
Randomized with seed 298994622
Finished in 0.0303 seconds
11 examples, 1 failure
Test suite spec: FAIL
Test suite logged to: dist/test/mockery-0.3.5-spec.log
0 of 1 test suites (0 of 1 test cases) passed.
The text was updated successfully, but these errors were encountered:
IIUC it's because darwin does not have subsecond resolution
The text was updated successfully, but these errors were encountered: