> > The easiest thing I can think of is to add a second buffer to hold the exp+file+line. > Then, test_assert() just needs to skip that particular line of formatting. > > If you don't object, I'll post a v4 with the below folded in somewhere (after > more testing), and put this on the fast track for 6.6. > Yes, please update in v4. That should cause less confusion when reading the assert. I like it! > Side topic, if anyone lurking out there wants an easy (but tedious and boring) > starter project, we should convert all tests to the newfangled formatting and > drop GUEST_ASSERT_N entirely. Once all tests are converted, GUEST_ASSERT_FMT() > and REPORT_GUEST_ASSERT_FMT can drop the "FMT" postfix. >