We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I don't know if some rounding changed but I'm experiencing issues with Golang 1.13:
Testing in: /builddir/build/BUILD/statik-0.1.6/_build/src PATH: /builddir/build/BUILD/statik-0.1.6/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/statik-0.1.6/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X github.com/rakyll/statik/version=0.1.6 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/rakyll/statik github.com/rakyll/statik/fs --- FAIL: TestOpen (0.00s) --- FAIL: TestOpen/Files_should_retain_their_original_file_mode_and_modified_time (0.00s) fs_test.go:195: ModTime(/file.txt) = 2019-03-20 18:56:11 +0000 UTC; want 2019-03-20 18:56:10 +0000 UTC --- FAIL: TestOpen/Images_should_successfully_unpack (0.00s) fs_test.go:195: ModTime(/pixel.gif) = 2019-03-20 18:56:11 +0000 UTC; want 2019-03-20 18:56:10 +0000 UTC --- FAIL: TestOpen/'index.html'_files_should_be_returned_at_their_original_path_and_their_directory_path (0.00s) fs_test.go:195: ModTime(/index.html) = 2019-03-20 18:56:11 +0000 UTC; want 2019-03-20 18:56:10 +0000 UTC fs_test.go:195: ModTime(/sub_dir/index.html) = 2019-03-20 18:56:11 +0000 UTC; want 2019-03-20 18:56:10 +0000 UTC --- FAIL: TestOpen/listed_all_sub_directories_in_deep_directory (0.00s) fs_test.go:195: ModTime(/a) = 2019-03-20 18:56:11 +0000 UTC; want 2019-03-20 18:56:10 +0000 UTC fs_test.go:195: ModTime(/aa/bb/c) = 2019-03-20 18:56:11 +0000 UTC; want 2019-03-20 18:56:10 +0000 UTC FAIL exit status 1 FAIL github.com/rakyll/statik/fs 0.011s
The text was updated successfully, but these errors were encountered:
This might be due to this change in 1.13: golang/go@20995f6
Sorry, something went wrong.
Use Modified.UTC() instead of deprecated ModTime()
d3d6c25
Fix rakyll#80 Signed-off-by: Robert-André Mauchin <[email protected]>
Successfully merging a pull request may close this issue.
I don't know if some rounding changed but I'm experiencing issues with Golang 1.13:
The text was updated successfully, but these errors were encountered: