Skip to content

Commit

Permalink
fixed broken version test
Browse files Browse the repository at this point in the history
  • Loading branch information
0atman committed Apr 14, 2020
1 parent 78980a7 commit cbf49a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test.nim
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import inim

# Initialize global var app; needed by getNimVersion.
# commented out to hotfix breaking tests
#initApp()
#doAssert(getNimVersion()[0..2] == "Nim")
initApp("nim", "", true)
doAssert(getNimVersion()[0..2] == "Nim")

doAssert(hasIndentTrigger("var") == true)
doAssert(hasIndentTrigger("var x:int") == false)
Expand Down

0 comments on commit cbf49a1

Please sign in to comment.