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

fix: update timezone in test #340

Merged
merged 1 commit into from
Jul 30, 2024
Merged

fix: update timezone in test #340

merged 1 commit into from
Jul 30, 2024

Commits on Jul 25, 2024

  1. fix: update timezone in test

    The default time value assertion in the test_default_local_var_recv() function
    uses the "GMT" time zone, but local.go when creating a default TIME value uses
    a "UTC" time standard. This causes tests to fail when run in the UK (BST):
    
    ```
    --- FAIL: TestTester (0.00s)
        --- FAIL: TestTester/empty_and_notset_value_test (0.00s)
            runner_test.go:386: Test case "default value check" raises error: Assertion Error: Assertion error: expect=Thu, 01 Jan 1970 01:00:00 GMT, actual=Thu, 01 Jan 1970 00:00:00 GMT
    FAIL
    ```
    
    To resolve this, update the test to use "UTC".
    acme committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    7768297 View commit details
    Browse the repository at this point in the history