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

Get() bug if expected Object is not an Object #3

Closed
JoshuaC215 opened this issue Jan 10, 2018 · 1 comment · Fixed by #4 or qntfy/kazaam#66
Closed

Get() bug if expected Object is not an Object #3

JoshuaC215 opened this issue Jan 10, 2018 · 1 comment · Fixed by #4 or qntfy/kazaam#66

Comments

@JoshuaC215
Copy link
Collaborator

Given this Get() test case,

        {
                desc:    `handle non-object and skip`,
                json:    `{"a":"d","c":{"c":[1,2]}} }`,
                path:    []string{"a", "c"},
                isFound: false,
        },

We get this:

--- FAIL: TestGet (0.00s)
        parser_test.go:1022: Get() test 'handle non-object and skip' isFound mismatch: expected false, obtained true
@JoshuaC215
Copy link
Collaborator Author

Same issue: buger#116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant