From 0f2bb4efc639ecc8df21f455fb3debb32bb05824 Mon Sep 17 00:00:00 2001 From: nick black Date: Sun, 16 Aug 2020 08:51:45 -0400 Subject: [PATCH] wide tests: remove netinet/in.h --- tests/wide.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/wide.cpp b/tests/wide.cpp index 5749aff09..893db1af8 100644 --- a/tests/wide.cpp +++ b/tests/wide.cpp @@ -1,6 +1,5 @@ #include #include -#include #include "main.h" #include "internal.h" @@ -861,7 +860,7 @@ TEST_CASE("Wide") { SUBCASE("ItalicEmoji") { cell c = CELL_TRIVIAL_INITIALIZER; cell_load(n_, &c, "\U0001F90C"); - CHECK(htonl(0xf09fa48clu) == c.gcluster); + CHECK(0x8ca49ff0lu == c.gcluster); cell_styles_on(&c, NCSTYLE_ITALIC); CHECK(4 == strlen(cell_extended_gcluster(n_, &c))); CHECK(0 == strcmp("\U0001F90C", cell_extended_gcluster(n_, &c))); @@ -880,7 +879,7 @@ TEST_CASE("Wide") { SUBCASE("StyleMaxEmoji") { cell c = CELL_TRIVIAL_INITIALIZER; cell_load(n_, &c, "\U0001F90C"); - CHECK(htonl(0xf09fa48clu) == c.gcluster); + CHECK(0x8ca49ff0lu == c.gcluster); cell_styles_on(&c, NCSTYLE_MASK); CHECK(4 == strlen(cell_extended_gcluster(n_, &c))); CHECK(0 == strcmp("\U0001F90C", cell_extended_gcluster(n_, &c)));