[Hackathon] Add source range highlight check to test_with (#55513)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55513
Reviewed By: janeyx99
Differential Revision: D27627520
Pulled By: gmagogsfm
fbshipit-source-id: 132f4dd2e99d2b5981fdd1522dbf7727b6abf7ab