fix up EmitWchar unit test

pull/124/head
nick black 5 years ago
parent e77c584815
commit 3085a5db31
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -120,9 +120,9 @@ TEST_F(NcplaneTest, EmitCell) {
// Verify we can emit a wide character, and it advances the cursor
TEST_F(NcplaneTest, EmitWchar) {
const wchar_t w = L'';
int sbytes;
EXPECT_LT(0, ncplane_putwegc(n_, &w, 0, 0, &sbytes));
const wchar_t* w = L"";
int sbytes = 0;
EXPECT_LT(0, ncplane_putwegc(n_, w, 0, 0, &sbytes));
int x, y;
ncplane_cursor_yx(n_, &y, &x);
EXPECT_EQ(0, y);

Loading…
Cancel
Save