Skip to content

fix JSON::Any match with extra fields#5

Merged
c910335 merged 1 commit intomasterfrom
fix-json-any-match
Apr 18, 2020
Merged

fix JSON::Any match with extra fields#5
c910335 merged 1 commit intomasterfrom
fix-json-any-match

Conversation

@c910335
Copy link
Owner

@c910335 c910335 commented Apr 18, 2020

This PR makes this spec failed as expected.

json = JSON.parse(%({"a":1))

describe "json" do
  it "should not pass the test" do
    json.should match({"a" => 1, "b" => 2})
  end
end

Also removed Kemal from .travis.yml and shard.yml due to the dependency issue.

remove kemal in .travis.yml and shard.yml due to dependency issue
@c910335 c910335 merged commit 7fa3b26 into master Apr 18, 2020
@c910335 c910335 changed the title fix json any match with extra field fix JSON::Any match with extra field Apr 18, 2020
@c910335 c910335 changed the title fix JSON::Any match with extra field fix JSON::Any match with extra fields Apr 18, 2020
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

Successfully merging this pull request may close these issues.

1 participant