summary refs log tree commit diff stats
path: root/tests/stdlib/tjsonexternproc.nim
blob: 1091d72cd6c479b4a34d1c3df13c73a8de64af98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
discard """
output: '''
{"data":[1]}
'''
"""

# Test case for https://github.com/nim-lang/Nim/issues/6385

import mjsonexternproc
# import json
foo(1)
teral.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
discard """
  output: '''246
'''
"""

import deadg, deadb