mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 04:57:49 +00:00
updated tests to be executed
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
import unittest
|
||||
import hashes
|
||||
|
||||
discard """
|
||||
output: '''
|
||||
[Suite] hashes
|
||||
|
||||
[Suite] hashing
|
||||
|
||||
'''
|
||||
"""
|
||||
|
||||
import unittest, hashes
|
||||
|
||||
suite "hashes":
|
||||
suite "hashing":
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
discard """
|
||||
output: "[Suite] httpcore"
|
||||
"""
|
||||
|
||||
import unittest
|
||||
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
discard """
|
||||
output: '''
|
||||
{"data":[1]}
|
||||
'''
|
||||
"""
|
||||
|
||||
# Test case for https://github.com/nim-lang/Nim/issues/6385
|
||||
|
||||
import mjsonexternproc
|
||||
# import json
|
||||
foo(1)
|
||||
foo(1)
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
discard """
|
||||
disabled: true
|
||||
"""
|
||||
|
||||
## JSON tests based on https://github.com/nst/JSONTestSuite
|
||||
|
||||
import unittest,
|
||||
|
||||
Reference in New Issue
Block a user