Skip to content

bug: Unit test failure using Go 1.21.0 #3

@lpar

Description

@lpar

Description

Description

When running go test with Go 1.21.0, there's a unit test failure.

Expected Behavior

PASS
ok  	github.com/gobuffalo/mw-i18n/v2	0.281s

Actual Behavior

--- FAIL: Test_i18n_Localized_View (0.00s)
    i18n_test.go:165: 
        	Error Trace:	/Users/meta/Go/src/github.com/gobuffalo/mw-i18n/i18n_test.go:165
        	Error:      	Not equal: 
        	            	expected: "Default"
        	            	actual  : "Hello!"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-Default
        	            	+Hello!
        	Test:       	Test_i18n_Localized_View

To Reproduce

Installed via rtx:

rtx install [email protected]
rtx install [email protected]

Test:

rtx use [email protected]
go test # succeeds
rtx use [email protected]
go test # fails

Additional Context

macOS on Apple M2 Max.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions