aboutsummaryrefslogtreecommitdiff
path: root/spec/practical/json_spec.cr
diff options
context:
space:
mode:
authorMatthew Hall <hallmatthew314@gmail.com>2023-03-30 20:35:26 +1300
committerMatthew Hall <hallmatthew314@gmail.com>2023-03-30 20:35:26 +1300
commit9f32fd6424386336a332b0b50a7fd6ebce95345e (patch)
tree66a52d8def46b582915758503578fed4ae01c4b4 /spec/practical/json_spec.cr
parentec5c32d902148ab958cd4aac82b473fc8242d5af (diff)
Add example tags to example tests
Diffstat (limited to 'spec/practical/json_spec.cr')
-rw-r--r--spec/practical/json_spec.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/practical/json_spec.cr b/spec/practical/json_spec.cr
index 79d60dd..e4705e8 100644
--- a/spec/practical/json_spec.cr
+++ b/spec/practical/json_spec.cr
@@ -25,7 +25,7 @@ def assoc_to_hash(arr : Array({K, V})) : Hash(K, V) forall K, V
h
end
-describe "example: JSON parsing" do
+describe "example: JSON parsing", tags: "example" do
json_null = Parser.token_sequence("null".chars).map_const(JSONValue.new(nil))
t = Parser.token_sequence("true".chars).map_const(true)