Skip to content

Commit

Permalink
feat: Updated test/hurl_spec.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Oct 25, 2023
1 parent e3eea10 commit 7657b82
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/hurl_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ describe('Hurl wrapper', function()
end)
else
print("Warning: hurl.request function is nil, skipping test.")
return
end
-- Check that the response status is 200
assert.equals(response.status, 200)
Expand Down Expand Up @@ -59,12 +58,12 @@ describe('Hurl wrapper', function()
hurl.run_current_file({ mock_file })
else
print("Warning: hurl.run_current_file function is nil, skipping test.")
return
end
if hurl.run_selection then
hurl.run_selection({ mock_file })
else
print("Warning: hurl.run_selection function is nil, skipping test.")
end
return
end
-- Check that the response status is 200
Expand All @@ -90,7 +89,6 @@ describe('Hurl wrapper', function()
hurl.run_selection({ mock_file })
else
print("Warning: hurl.run_selection function is nil, skipping test.")
return
end
-- Check that the response status is 200
assert.equals(response.status, 200)
Expand Down

0 comments on commit 7657b82

Please sign in to comment.