Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Nov 21, 2020
1 parent 68855a0 commit ba44311
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
bolognese (1.8.19)
bolognese (1.8.20)
activesupport (>= 4.2.5)
benchmark_methods (~> 0.7)
bibtex-ruby (>= 5.1.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/bolognese/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Bolognese
VERSION = "1.8.19"
VERSION = "1.8.20"
end
2 changes: 1 addition & 1 deletion spec/metadata_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
it "missing_comma" do
json = IO.read(fixture_path + "datacite_software_missing_comma.json")
response = subject.jsonlint(json)
expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:370]"])
expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:364]"])
end

it "overlapping_keys" do
Expand Down
2 changes: 1 addition & 1 deletion spec/readers/datacite_json_reader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
input = fixture_path + "datacite_software_missing_comma.json"
subject = Bolognese::Metadata.new(input: input, from: "datacite_json", show_errors: true)
expect(subject.valid?).to be false
expect(subject.errors).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:370]"])
expect(subject.errors).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:364]"])
expect(subject.codemeta).to be_nil
end

Expand Down

0 comments on commit ba44311

Please sign in to comment.