Skip to content

Commit 2f707d4

Browse files
committed
Add NumStringTests to elixir search tests
1 parent 9c71beb commit 2f707d4

4 files changed

Lines changed: 5 additions & 22 deletions

File tree

Makefile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -304,16 +304,6 @@ else
304304
@echo "Warning: Clouseau is not enabled, \`elixir-search\` cannot be run."
305305
endif
306306

307-
.PHONY: elixir-test-search-props
308-
elixir-test-search-props: export MIX_ENV=integration
309-
elixir-test-search-props:
310-
@dev/run "$(TEST_OPTS)" -n 1 -q -a adm:pass \
311-
--enable-erlang-views \
312-
--no-join \
313-
--locald-config test/elixir/test/config/test-config.ini \
314-
--erlang-config rel/files/eunit.config \
315-
--no-eval 'mix test --trace --only search_props $(EXUNIT_OPTS)'
316-
317307
.PHONY: elixir-source-checks
318308
# target: elixir-source-checks - Check source code formatting of Elixir test files
319309
elixir-source-checks: export MIX_ENV=integration

Makefile.win

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -274,16 +274,6 @@ else
274274
@echo "Warning: Clouseau is not enabled, `elixir-search` cannot be run."
275275
endif
276276

277-
.PHONY: elixir-test-search-props
278-
elixir-test-search-props: export MIX_ENV=integration
279-
elixir-test-search-props:
280-
@dev\run "$(TEST_OPTS)" -n 1 -q -a adm:pass \
281-
--enable-erlang-views \
282-
--no-join \
283-
--locald-config test/elixir/test/config/test-config.ini \
284-
--erlang-config rel/files/eunit.config \
285-
--no-eval 'mix test --trace --only search_props $(EXUNIT_OPTS)'
286-
287277
.PHONY: elixir-source-checks
288278
# target: elixir-source-checks - Check source code formatting of Elixir test files
289279
elixir-source-checks: export MIX_ENV=integration

test/elixir/test/config/search.elixir

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@
5252
],
5353
"RegexVsTextIndexTest": [
5454
"regex works with text index"
55+
],
56+
"NumStringTests": [
57+
"single floating point test"
5558
]
5659
}

test/elixir/test/mango/06_basic_text_prop_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
defmodule BasicTextTest do
1+
defmodule NumStringTests do
22
use PropCheck
33
use CouchTestCase
44

55
@moduletag :search_props
66
@db_name "changeme-proptest-db"
7-
7+
88
property "test floating point value",
99
numtests: 1_000 do # takes about 10 seconds
1010
MangoDatabase.recreate("/#{@db_name}")

0 commit comments

Comments
 (0)