From f40f8cfb1525b625c7a3423d6a28f56a4b487fc7 Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 4 Dec 2019 04:45:27 -0500 Subject: [PATCH] use background in fade unit tests --- tests/fade.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/fade.cpp b/tests/fade.cpp index 98b8869bd..b0618fbe5 100644 --- a/tests/fade.cpp +++ b/tests/fade.cpp @@ -32,6 +32,7 @@ class FadeTest : public :: testing::Test { rgb = 0xffffffu; } cell_set_fg(&c, (rgb >> 16u) & 0xff, (rgb >> 8u) & 0xff, rgb & 0xff); + cell_set_bg(&c, rgb & 0xff, (rgb >> 16u) & 0xff, (rgb >> 8u) & 0xff); EXPECT_LT(0, ncplane_putc(n_, &c)); } }