Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit d3e255a

Browse files
committed
chore(editor-validator): clean up wip tags
1 parent db35eb9 commit d3e255a

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

test/helper/utils_test.exs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ defmodule GroupherServer.Test.Helper.UtilsTest do
130130
end
131131

132132
describe "[basic compare]" do
133-
@tag :wip2
134133
test "large_than work for both number and string" do
135134
assert true == Utils.large_than(10, 9)
136135
assert false == Utils.large_than(8, 9)
@@ -139,7 +138,6 @@ defmodule GroupherServer.Test.Helper.UtilsTest do
139138
assert false == Utils.large_than("ok", 3)
140139
end
141140

142-
@tag :wip2
143141
test "large_than equal case" do
144142
assert true == Utils.large_than(9, 9)
145143
assert false == Utils.large_than(9, 9, :no_equal)
@@ -148,7 +146,6 @@ defmodule GroupherServer.Test.Helper.UtilsTest do
148146
assert false == Utils.large_than("lang", 4, :no_equal)
149147
end
150148

151-
@tag :wip2
152149
test "less_than work for both number and string" do
153150
assert false == Utils.less_than(10, 9)
154151
assert true == Utils.less_than(8, 9)
@@ -157,7 +154,6 @@ defmodule GroupherServer.Test.Helper.UtilsTest do
157154
assert true == Utils.less_than("ok", 3)
158155
end
159156

160-
@tag :wip2
161157
test "less_than equal case" do
162158
assert true == Utils.less_than(9, 9)
163159
assert false == Utils.less_than(9, 9, :no_equal)

test/helper/validator/schema_test.exs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ defmodule GroupherServer.Test.Helper.Validator.Schema do
66
alias Helper.Validator.Schema
77

88
describe "[basic schema]" do
9-
@tag :wip
109
test "string with options" do
1110
schema = %{"text" => [:string, required: false]}
1211
data = %{"no_exsit" => "text"}
@@ -48,7 +47,6 @@ defmodule GroupherServer.Test.Helper.Validator.Schema do
4847
# IO.inspect(Schema.cast(schema, data), label: "schema result")
4948
end
5049

51-
@tag :wip
5250
test "number with options" do
5351
schema = %{"text" => [:number, required: false]}
5452
data = %{"no_exsit" => 1}
@@ -87,7 +85,6 @@ defmodule GroupherServer.Test.Helper.Validator.Schema do
8785
# hello world
8886
end
8987

90-
@tag :wip
9188
test "number with wrong option" do
9289
schema = %{"text" => [:number, required: true, min: "5"]}
9390
data = %{"text" => 1}
@@ -102,7 +99,6 @@ defmodule GroupherServer.Test.Helper.Validator.Schema do
10299
assert error == [%{field: "text", message: "unknow option: no_exsit_option: xxx", value: 1}]
103100
end
104101

105-
@tag :wip
106102
test "number with options edage case" do
107103
schema = %{"text" => [:number, min: 2]}
108104
data = %{"text" => "aa"}

0 commit comments

Comments
 (0)