Skip to content

Commit

Permalink
Update test_misc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
PaDarochek committed Mar 28, 2023
1 parent 08766b2 commit 2304a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cpp/jit/test_misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ TEST(RecordFunctionTest, Callbacks) {
},
[](const RecordFunction& /* unused */, ObserverContext* ctx_ptr) {
auto ctx = dynamic_cast<TestContext*>(ctx_ptr);
TORCH_CHECK(ctx_ptr != nullptr);
TORCH_CHECK(ctx != nullptr);
TORCH_CHECK(ctx->a == 123);
TORCH_CHECK(ctx->b == "test_str");
}));
Expand Down

0 comments on commit 2304a56

Please sign in to comment.