Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmor5 committed Oct 21, 2024
1 parent a8d3149 commit 4a66ba4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/axon/compiler_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,10 @@ defmodule CompilerTest do

{_, predict_fn} = Axon.build(model)

exception = assert_raise ArgumentError, fn ->
predict_fn.(ModelState.empty(), Nx.tensor([1]))
end
exception =
assert_raise ArgumentError, fn ->
predict_fn.(ModelState.empty(), Nx.tensor([1]))
end

assert Exception.message(exception) =~ "ambiguous"
end
Expand Down

0 comments on commit 4a66ba4

Please sign in to comment.