Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linkify
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
Elixir libraries
Linkify
Commits
ed43edc6
Commit
ed43edc6
authored
Feb 8, 2019
by
minibikini
Browse files
Options
Downloads
Patches
Plain Diff
make tests async
parent
0f0513a5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/auto_linker_test.exs
+1
-1
1 addition, 1 deletion
test/auto_linker_test.exs
test/builder_test.exs
+1
-1
1 addition, 1 deletion
test/builder_test.exs
test/parser_test.exs
+2
-2
2 additions, 2 deletions
test/parser_test.exs
with
4 additions
and
4 deletions
test/auto_linker_test.exs
+
1
−
1
View file @
ed43edc6
defmodule
AutoLinkerTest
do
defmodule
AutoLinkerTest
do
use
ExUnit
.
Case
use
ExUnit
.
Case
,
async:
true
doctest
AutoLinker
doctest
AutoLinker
test
"phone number"
do
test
"phone number"
do
...
...
This diff is collapsed.
Click to expand it.
test/builder_test.exs
+
1
−
1
View file @
ed43edc6
defmodule
AutoLinker
.
BuilderTest
do
defmodule
AutoLinker
.
BuilderTest
do
use
ExUnit
.
Case
use
ExUnit
.
Case
,
async:
true
doctest
AutoLinker
.
Builder
doctest
AutoLinker
.
Builder
import
AutoLinker
.
Builder
import
AutoLinker
.
Builder
...
...
This diff is collapsed.
Click to expand it.
test/parser_test.exs
+
2
−
2
View file @
ed43edc6
defmodule
AutoLinker
.
ParserTest
do
defmodule
AutoLinker
.
ParserTest
do
use
ExUnit
.
Case
use
ExUnit
.
Case
,
async:
true
doctest
AutoLinker
.
Parser
doctest
AutoLinker
.
Parser
import
AutoLinker
.
Parser
import
AutoLinker
.
Parser
...
@@ -68,7 +68,7 @@ defmodule AutoLinker.ParserTest do
...
@@ -68,7 +68,7 @@ defmodule AutoLinker.ParserTest do
test
"excludes html with specified class"
do
test
"excludes html with specified class"
do
text
=
"```Check out <div class='section'>google.com</div>```"
text
=
"```Check out <div class='section'>google.com</div>```"
assert
parse
(
text
,
exclude_pattern:
"```"
)
==
text
assert
parse
(
text
,
exclude_pattern
s
:
[
"```"
]
)
==
text
end
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment