Skip to content

Commit 1433c8a

Browse files
committed
Fix docs
1 parent 9f9afaf commit 1433c8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tutorial/1_basics.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ colors[:blue] = (0, 0, 255);
3232

3333
# Note that you cannot use labels or metadata that is incoherent with the types you specified at construction.
3434

35-
@test_throws MethodError colors[:red] = "(255, 0, 0)"
36-
@test_throws MethodError colors["red"] = (255, 0, 0)
35+
@test_throws MethodError colors[:red] = "(255, 0, 0)" #src
36+
@test_throws MethodError colors["red"] = (255, 0, 0) #src
3737

3838
# ### Edges
3939

0 commit comments

Comments
 (0)