252252
253253# -------------------------------------------------------------------------------
254254lisp " (import ParserCombinator)"
255- @test lisp " (@E_str \" S\" )" == E " S"
255+ @testset " Module import" begin
256+ @test lisp " (@E_str \" S\" )" == E " S"
257+ end
256258
257259# -------------------------------------------------------------------------------
258260@testset " Include from file" begin
@@ -265,19 +267,19 @@ lisp"(import ParserCombinator)"
265267 @test ! isdefined (@__MODULE__ , :not_a_global )
266268end
267269
268- # --------------------------------------- -------------------------------------------------------------------------------
270+ # -------------------------------------------------------------------------------
269271# Bug reports
270- # ----------------------------------------------------------------------------------------------------------------------
271- @test lisp """ (def game_map (Dict
272- (=> 'living_room
273- '((you are in the living room
274- of a wizards house - there is a wizard
275- snoring loudly on the couch -)
276- (west door garden)
277- (upstairs stairway attic)))))""" == Dict ( :living_room =>
278- Any[ Any[ :you , :are , :in , :the , :living , :room , :of , :a , :wizards , :house , : - ,
279- :there , :is , :a , :wizard , :snoring , :loudly , :on , :the , :couch , :- ] ,
280- Any[ :west , :door , :garden ],
281- Any[ :upstairs , :stairway , :attic ] ])
282-
283-
272+ @testset " Bug reports " begin
273+ @test lisp """ (def game_map (Dict
274+ (=> 'living_room
275+ '((you are in the living room
276+ of a wizards house - there is a wizard
277+ snoring loudly on the couch -)
278+ (west door garden)
279+ (upstairs stairway attic)))))""" ==
280+ Dict ( :living_room =>
281+ Any[ Any[ :you , :are , :in , :the , :living , :room , :of , :a , :wizards , :house , :- ,
282+ :there , :is , :a , :wizard , :snoring , :loudly , :on , :the , :couch , :- ],
283+ Any[ :west , :door , :garden ],
284+ Any[ :upstairs , :stairway , :attic ] ])
285+ end
0 commit comments