Skip to content

Commit

Permalink
fix juliasyntax test
Browse files Browse the repository at this point in the history
missing from #2526
  • Loading branch information
fonsp authored Sep 12, 2023
1 parent 394be90 commit 72a5847
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/packages/Basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,8 @@ import Distributed
end

@testset "PlutoRunner Syntax Error" begin
🍭 = ServerSession()

notebook = Notebook([
Cell("1 +"),
Cell("PlutoRunner.throw_syntax_error"),
Expand All @@ -665,6 +667,8 @@ import Distributed
@test Pluto.is_just_text(notebook.topology, notebook.cells[1])
@test !Pluto.is_just_text(notebook.topology, notebook.cells[2]) # Not a syntax error form
@test Pluto.is_just_text(notebook.topology, notebook.cells[3])

WorkspaceManager.unmake_workspace((🍭, notebook))
end

@testset "Precompilation" begin
Expand Down

0 comments on commit 72a5847

Please sign in to comment.