Skip to content

Commit

Permalink
Tweak test with custom field separator.
Browse files Browse the repository at this point in the history
  • Loading branch information
davebronson committed Nov 7, 2021
1 parent fa499bc commit 88b5837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ClearHl7.Tests/MessagesTests/MessageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void FromDelimitedString_WithCustomDelimiters_ReturnsCorrectlyInitialized
};

IMessage actual = new Message();
actual.FromDelimitedString("MSH|$*\\-|Sender 1||Receiver 1||20201202144539|||||2.9\rIN1|15|MNO Healthcare|736HB$$$DES1-UID654-Type 5*AA876$$$LLL09--UID123-Type 7\rCDM||Code 1$ABC*Code 2$ZYX\r");
actual.FromDelimitedString("MSH~$*\\-~Sender 1~~Receiver 1~~20201202144539~~~~~2.9\rIN1~15~MNO Healthcare~736HB$$$DES1-UID654-Type 5*AA876$$$LLL09--UID123-Type 7\rCDM~~Code 1$ABC*Code 2$ZYX\r");

expected.Should().BeEquivalentTo(actual);
}
Expand Down

0 comments on commit 88b5837

Please sign in to comment.