diff --git a/spec/metadata_spec.rb b/spec/metadata_spec.rb index e31c89d4..cd87b483 100644 --- a/spec/metadata_spec.rb +++ b/spec/metadata_spec.rb @@ -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:364]"]) + expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:388]"]) end it "overlapping_keys" do diff --git a/spec/readers/datacite_json_reader_spec.rb b/spec/readers/datacite_json_reader_spec.rb index bdea90e0..6c98409f 100644 --- a/spec/readers/datacite_json_reader_spec.rb +++ b/spec/readers/datacite_json_reader_spec.rb @@ -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:364]"]) + expect(subject.errors).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:388]"]) expect(subject.codemeta).to be_nil end