Skip to content

Commit

Permalink
Julia.hs: test -bin versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom McLaughlin committed Dec 4, 2024
1 parent f4e3d71 commit 9d860fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/app/Spec/Tests/Julia.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ tests :: LanguageSpec
tests = do
juliaTests "julia_19"
juliaTests "julia_110"
juliaTests "julia_19-bin"
juliaTests "julia_110-bin"

kernelName :: Text -> Text
kernelName _juliaPackage = "julia"
Expand Down
2 changes: 2 additions & 0 deletions tests/app/Spec/Tests/Julia/Diagnostics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ diagnosticsTests juliaPackage lsName = describe "Diagnostics" $ do
|] [] $ \diagnostics' -> do
let diagnostics = case juliaPackage of
"julia_110" -> Prelude.filter (\d -> not (matchesMethodCallError (d ^. message))) diagnostics'
"julia_110-bin" -> Prelude.filter (\d -> not (matchesMethodCallError (d ^. message))) diagnostics'
_ -> diagnostics'
info [i|juliaPackage: #{juliaPackage}|]
info [i|diagnostics': #{diagnostics'}|]
Expand All @@ -51,6 +52,7 @@ diagnosticsTests juliaPackage lsName = describe "Diagnostics" $ do
|] [] $ \diagnostics' -> do
let diagnostics = case juliaPackage of
"julia_110" -> Prelude.filter (\d -> not (matchesMethodCallError (d ^. message))) diagnostics'
"julia_110-bin" -> Prelude.filter (\d -> not (matchesMethodCallError (d ^. message))) diagnostics'
_ -> diagnostics'
assertDiagnosticRanges' diagnostics [(Range (Position 5 0) (Position 5 11), Nothing, "Missing reference: printlnzzzz")]

Expand Down

0 comments on commit 9d860fc

Please sign in to comment.