Remove install.txt and readme.txt (#9521)

* Remove install.txt and readme.txt

* Refactor tests that use readme.txt

* Tests open own source code
This commit is contained in:
Utwo 2018-10-28 14:36:52 +02:00 • committed by Andreas Rumpf
commit a68a4bfaf2
10 changed files with 10 additions and 115 deletions

View file

@ -1,5 +1,5 @@
discard """
outputsub: "All rights reserved."
outputsub: "Just a simple text for test"
"""
type
@ -28,7 +28,7 @@ proc consume() {.thread.} =
proc produce() {.thread.} =
prodId = getThreadId()
var m: TMsg
var input = open("readme.txt")
var input = open("tests/dummy.txt")
var line = ""
while input.readLine(line):
m.data = line