Skip to content

Commit

Permalink
fix merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-butcher committed Mar 18, 2024
1 parent 91278de commit ffd6a4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@ import weco.catalogue.internal_model.identifiers.{
import weco.catalogue.internal_model.work.WorkState.Source
import weco.catalogue.internal_model.work.{Work, WorkData}
import weco.pipeline.transformer.marc.xml.data.MarcXMLRecord
<<<<<<< HEAD
import weco.pipeline.transformer.marc_common.logging.LoggingContext
import weco.pipeline.transformer.marc_common.transformers.{
MarcEdition,
MarcElectronicResources,
=======
import weco.pipeline.transformer.marc_common.transformers.{
MarcEdition,
>>>>>>> main
MarcInternationalStandardIdentifiers,
MarcTitle
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class MarcXMLRecordTest extends AnyFunSpec with Matchers with LoneElement {
MarcXMLRecord(
<record>
<datafield tag="321">
<subfield tag="a">1234-5678</subfield>
<subfield code="a">1234-5678</subfield>
</datafield>
</record>
).fieldsWithTag("123") shouldBe empty
Expand Down Expand Up @@ -147,10 +147,10 @@ class MarcXMLRecordTest extends AnyFunSpec with Matchers with LoneElement {
MarcXMLRecord(
<record>
<datafield tag="655">
<subfield tag="x">Hello Mike</subfield>
<subfield code="x">Hello Mike</subfield>
</datafield>
<datafield tag="651">
<subfield tag="a">Hello Joe</subfield>
<subfield code="a">Hello Joe</subfield>
</datafield>
</record>
).subfieldsWithTags("655" -> "a", "651" -> "x") shouldBe empty
Expand All @@ -163,15 +163,15 @@ class MarcXMLRecordTest extends AnyFunSpec with Matchers with LoneElement {
MarcXMLRecord(
<record>
<datafield tag="650">
<subfield tag="a">Hello Mike</subfield>
<subfield code="a">Hello Mike</subfield>
</datafield>
<datafield tag="655">
<subfield tag="a">Hello Robert</subfield>
<subfield tag="0">n93000068</subfield>
<subfield code="a">Hello Robert</subfield>
<subfield code="0">n93000068</subfield>
</datafield>
<datafield tag="651">
<subfield tag="a">Hello Joe</subfield>
<subfield tag="0">n93000065</subfield>
<subfield code="a">Hello Joe</subfield>
<subfield code="0">n93000065</subfield>
</datafield>
</record>
).subfieldsWithTags(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class MarcXMLRecordTransformerTest
</datafield>
<datafield tag ="856">
<subfield code="y">Hampster Dance</subfield>
<subfield code="u">https://example.com/hamsterdance</subfield>
<subfield code="u">https://example.com/hampsterdance</subfield>
</datafield>
</record>
)
Expand Down

0 comments on commit ffd6a4e

Please sign in to comment.