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

bug: Unit test failure using Go 1.21.0 #37

Closed
lpar opened this issue Aug 17, 2023 · 1 comment
Closed

bug: Unit test failure using Go 1.21.0 #37

lpar opened this issue Aug 17, 2023 · 1 comment

Comments

@lpar
Copy link

lpar commented Aug 17, 2023

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.

@lpar
Copy link
Author

lpar commented Aug 17, 2023

Saw the note about this repo being deprecated, moved the bug report to gobuffalo/middleware#3

@lpar lpar closed this as completed Aug 17, 2023
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