IC: added converter test case (#17688)

* IC: added converter test case

* IC: make converter example work
This commit is contained in:
Andreas Rumpf 2021-04-09 16:41:49 +02:00 • committed by GitHub
commit 1822ed384a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 3 deletions

18
tests/ic/tconverter.nim Normal file
View file

@ -0,0 +1,18 @@
discard """
output: "yes"
"""
import mdefconverter
echo "yes"
#!EDIT!#
discard """
output: "converted int to bool"
"""
import mdefconverter
if 4:
echo "converted int to bool"