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("0", p.Noon);
|
||||||
Assert.AreEqual("2", p.Evening);
|
Assert.AreEqual("2", p.Evening);
|
||||||
Assert.AreEqual("(gesteigert)", p.Comment);
|
Assert.AreEqual("(gesteigert)", p.Comment);
|
||||||
|
Assert.AreEqual("Ramipril 5 mg\t1-0-2 (gesteigert)", p.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
; Apache License Version 2.0
|
; Apache License Version 2.0
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
; #define DEBUG
|
#define DEBUG
|
||||||
|
|
||||||
; Read the semantic and the installer file version from the VERSION file
|
; Read the semantic and the installer file version from the VERSION file
|
||||||
#define FILE_HANDLE FileOpen("..\zaaReloaded2\VERSION")
|
#define FILE_HANDLE FileOpen("..\zaaReloaded2\VERSION")
|
||||||
|
@ -155,6 +155,10 @@ namespace zaaReloaded2.Medication
|
|||||||
{
|
{
|
||||||
s += "-" + Night;
|
s += "-" + Night;
|
||||||
}
|
}
|
||||||
|
if (!String.IsNullOrEmpty(Comment))
|
||||||
|
{
|
||||||
|
s += " " + Comment.Trim();
|
||||||
|
}
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user