Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F116157
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
471 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/test/cast/error_test.exs b/test/cast/error_test.exs
index dd49262..dfe35e8 100644
--- a/test/cast/error_test.exs
+++ b/test/cast/error_test.exs
@@ -1,11 +1,11 @@
defmodule OpenApiSpex.Cast.ErrorTest do
use ExUnit.Case
alias OpenApiSpex.Cast.Error
describe "path_to_string/1" do
test "with empty path" do
error = %Error{path: []}
- Error.path_to_string(error)
+ assert Error.path_to_string(error) == "/"
end
end
end
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 30, 2:41 PM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41459
Default Alt Text
(471 B)
Attached To
Mode
R22 open_api_spex
Attached
Detach File
Event Timeline
Log In to Comment