Skip to content

Commit 67c6b40

Browse files
committed
Test for no ambiguities
Julia itself tests for no ambiguities in its stdlibs. This means StyledStrings tests may pass, only to fail in Julia when trying to bump this stdlib. Add tests for no ambiguities to this package to preempt this early.
1 parent 3ab1776 commit 67c6b40

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ using .StyledMarkup: MalformedStylingMacro
99

1010
@test isempty(Test.detect_closure_boxes(StyledStrings))
1111

12+
@test isempty(Test.detect_ambiguities(StyledStrings))
13+
1214
const NON_STDLIB_TESTS = Main == @__MODULE__
1315
if NON_STDLIB_TESTS
1416
include("styfuzz.jl") # For use in the "Styled Markup" testset

0 commit comments

Comments
 (0)