From ffd6a4ed780e3fc7e4bcae8957cf3a423772c747 Mon Sep 17 00:00:00 2001 From: Paul Butcher Date: Mon, 18 Mar 2024 11:57:10 +0000 Subject: [PATCH] fix merge errors --- .../transformers/MarcXMLRecordTransformer.scala | 5 ----- .../marc/xml/data/MarcXMLRecordTest.scala | 16 ++++++++-------- .../MarcXMLRecordTransformerTest.scala | 2 +- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/pipeline/transformer/transformer_marc_xml/src/main/scala/weco/pipeline/transformer/marc/xml/transformers/MarcXMLRecordTransformer.scala b/pipeline/transformer/transformer_marc_xml/src/main/scala/weco/pipeline/transformer/marc/xml/transformers/MarcXMLRecordTransformer.scala index d2dda4dd3a..e938f12b3c 100644 --- a/pipeline/transformer/transformer_marc_xml/src/main/scala/weco/pipeline/transformer/marc/xml/transformers/MarcXMLRecordTransformer.scala +++ b/pipeline/transformer/transformer_marc_xml/src/main/scala/weco/pipeline/transformer/marc/xml/transformers/MarcXMLRecordTransformer.scala @@ -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 } diff --git a/pipeline/transformer/transformer_marc_xml/src/test/scala/weco/pipeline/transformer/marc/xml/data/MarcXMLRecordTest.scala b/pipeline/transformer/transformer_marc_xml/src/test/scala/weco/pipeline/transformer/marc/xml/data/MarcXMLRecordTest.scala index 46ace587a9..8fb98a1306 100644 --- a/pipeline/transformer/transformer_marc_xml/src/test/scala/weco/pipeline/transformer/marc/xml/data/MarcXMLRecordTest.scala +++ b/pipeline/transformer/transformer_marc_xml/src/test/scala/weco/pipeline/transformer/marc/xml/data/MarcXMLRecordTest.scala @@ -51,7 +51,7 @@ class MarcXMLRecordTest extends AnyFunSpec with Matchers with LoneElement { MarcXMLRecord( - 1234-5678 + 1234-5678 ).fieldsWithTag("123") shouldBe empty @@ -147,10 +147,10 @@ class MarcXMLRecordTest extends AnyFunSpec with Matchers with LoneElement { MarcXMLRecord( - Hello Mike + Hello Mike - Hello Joe + Hello Joe ).subfieldsWithTags("655" -> "a", "651" -> "x") shouldBe empty @@ -163,15 +163,15 @@ class MarcXMLRecordTest extends AnyFunSpec with Matchers with LoneElement { MarcXMLRecord( - Hello Mike + Hello Mike - Hello Robert - n93000068 + Hello Robert + n93000068 - Hello Joe - n93000065 + Hello Joe + n93000065 ).subfieldsWithTags( diff --git a/pipeline/transformer/transformer_marc_xml/src/test/scala/weco/pipeline/transformer/marc/xml/transformers/MarcXMLRecordTransformerTest.scala b/pipeline/transformer/transformer_marc_xml/src/test/scala/weco/pipeline/transformer/marc/xml/transformers/MarcXMLRecordTransformerTest.scala index b623176167..2ed4086bdb 100644 --- a/pipeline/transformer/transformer_marc_xml/src/test/scala/weco/pipeline/transformer/marc/xml/transformers/MarcXMLRecordTransformerTest.scala +++ b/pipeline/transformer/transformer_marc_xml/src/test/scala/weco/pipeline/transformer/marc/xml/transformers/MarcXMLRecordTransformerTest.scala @@ -51,7 +51,7 @@ class MarcXMLRecordTransformerTest Hampster Dance - https://example.com/hamsterdance + https://example.com/hampsterdance )