ASSERT_STRNE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

ASSERT_STRNE β€” and that's it, bestie 😭 the description slot on this page is literally empty. The man page shipped with a dangling dash and nothing after it, so the name is all we get. No cap. We work with what we've got 🫢


✨ SYNOPSIS

ASSERT_STRNE (expected , seen );

That's the whole call. Two things go in, and yes the spacing is exactly that cursed β€” expected then , then seen β€” don't come for me, I'm just reading the page πŸ“–βœ¨


πŸŽ€ ARGUMENTS

  • expected β€” the expected value. The one you thought it was gonna be πŸ’­
  • seen β€” the measured value. The one reality actually handed you πŸ‘€

πŸ¦‹ DESCRIPTION

Okay so here's the line, verbatim, because I refuse to paraphrase code:

ASSERT_STRNE(expected, measured): strcmp(expected, measured)

Notice something? πŸ‘€ The synopsis up there called the second argument seen, and the description down here calls it measured. That's not me being messy β€” that's literally what the page says, both spellings, both living on the same man page, iconic behavior honestly πŸ’€

And the shape of it is strcmp(expected, measured) β€” that's the whole description, that's the whole vibe. strcmp, in parens, on the two arguments. That's it. That's the page πŸ”₯


🌈 SEE ALSO

The whole friend group showed up for this one 🫢 so here's everybody, no one left behind:

Ngl, the ASSERT_* girlies and the EXPECT_* girlies are both fully represented here, plus all the FIXTURE_* lore. Go read them, they're literally one page away 🌸

That's the whole thing, bestie β€” no hidden sections, no surprise environment variables, no exit statuses, just a very short page living its best life πŸ’œ

Signed off from ./tools/testing/selftests, dated October 2026, manual name ASSERT_STRNE(9) β€” slay, periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from