fix test for bug #6989

This commit is contained in:
Andreas Rumpf
2018-01-27 08:02:29 +01:00
parent 68dfd1729e
commit 78fb3ffeb1
2 changed files with 4 additions and 5 deletions

View File

@@ -11,11 +11,9 @@ fjpmholcibdgeakn
'''
"""
import strutils, sequtils
import strutils, sequtils, typetraits, os
# bug #6989
import typetraits
type Dist = distinct int
proc mypred[T: Ordinal](x: T): T = T(int(x)-1)
@@ -63,8 +61,8 @@ echo testStr[testStr.len - 8 .. testStr.len - 1] & "__" & testStr[0 .. testStr.l
const
instructions = readFile("./inputs/16.txt").split(',')
var
instructions = readFile(getAppDir() / "troofregression2.txt").split(',')
programs = "abcdefghijklmnop"
proc dance(dancers: string): string =

File diff suppressed because one or more lines are too long