Skip to content

Commit

Permalink
Fix macro usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschumacher authored Aug 2, 2024
1 parent 4d550cb commit 1b385f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/macro_build_tests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@testset "Build directly through Dict with @swagger_str" begin
swagger"""
@swagger"""
/test_swagger_str:
post:
description: Testing swagger markdown test!
Expand Down Expand Up @@ -91,4 +91,4 @@ end
@assert haskey(r[POST]["responses"], "200")
@assert haskey(r[POST]["responses"]["200"], "description")
@test r[POST]["responses"]["200"]["description"] == "Returns a mysterious string test."
end
end

0 comments on commit 1b385f2

Please sign in to comment.