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

template test failures #39

Open
onlyjob opened this issue Jun 23, 2018 · 0 comments
Open

template test failures #39

onlyjob opened this issue Jun 23, 2018 · 0 comments

Comments

@onlyjob
Copy link

onlyjob commented Jun 23, 2018

With github.com/stretchr/testify v1.2.1 template tests fail as follows:

=== RUN   TestEscaped 
--- FAIL: TestEscaped (0.00s) 
        template_test.go:21:  
                        Error Trace:    template_test.go:21 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestEscaped 
=== RUN   TestInvalid 
--- PASS: TestInvalid (0.00s) 
=== RUN   TestNoValueNoDefault 
--- FAIL: TestNoValueNoDefault (0.00s) 
        template_test.go:46:  
                        Error Trace:    template_test.go:46 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestNoValueNoDefault 
        template_test.go:46:  
                        Error Trace:    template_test.go:46 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestNoValueNoDefault 
=== RUN   TestValueNoDefault 
--- FAIL: TestValueNoDefault (0.00s) 
        template_test.go:54:  
                        Error Trace:    template_test.go:54 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestValueNoDefault 
        template_test.go:54:  
                        Error Trace:    template_test.go:54 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestValueNoDefault 
=== RUN   TestNoValueWithDefault 
--- FAIL: TestNoValueWithDefault (0.00s) 
        template_test.go:62:  
                        Error Trace:    template_test.go:62 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestNoValueWithDefault 
        template_test.go:62:  
                        Error Trace:    template_test.go:62 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestNoValueWithDefault 
=== RUN   TestEmptyValueWithSoftDefault 
--- FAIL: TestEmptyValueWithSoftDefault (0.00s) 
        template_test.go:69:  
                        Error Trace:    template_test.go:69 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestEmptyValueWithSoftDefault 
=== RUN   TestEmptyValueWithHardDefault 
--- FAIL: TestEmptyValueWithHardDefault (0.00s) 
        template_test.go:75:  
                        Error Trace:    template_test.go:75 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestEmptyValueWithHardDefault 
=== RUN   TestNonAlphanumericDefault 
--- FAIL: TestNonAlphanumericDefault (0.00s) 
        template_test.go:81:  
                        Error Trace:    template_test.go:81 
                        Error:          Received unexpected error: 
                                        <nil> 
                        Test:           TestNonAlphanumericDefault 
FAIL 
FAIL    github.com/aanand/compose-file/template 0.004s 
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