Fix parsing again.
This commit is contained in:
parent
84e298e9ad
commit
4479efc196
@ -80,6 +80,7 @@ namespace Tests.Medication
|
||||
Assert.AreEqual("0", p.Noon);
|
||||
Assert.AreEqual("2", p.Evening);
|
||||
Assert.AreEqual("(gesteigert)", p.Comment);
|
||||
Assert.AreEqual("Ramipril 5 mg\t1-0-2 (gesteigert)", p.ToString());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -3,7 +3,7 @@
|
||||
; Apache License Version 2.0
|
||||
|
||||
[Setup]
|
||||
; #define DEBUG
|
||||
#define DEBUG
|
||||
|
||||
; Read the semantic and the installer file version from the VERSION file
|
||||
#define FILE_HANDLE FileOpen("..\zaaReloaded2\VERSION")
|
||||
|
@ -155,6 +155,10 @@ namespace zaaReloaded2.Medication
|
||||
{
|
||||
s += "-" + Night;
|
||||
}
|
||||
if (!String.IsNullOrEmpty(Comment))
|
||||
{
|
||||
s += " " + Comment.Trim();
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user