test/test_buffer.cpp

changeset 565
d756746ea94f
parent 548
459bca1cdf8d
child 566
d3100c987a39
--- a/test/test_buffer.cpp	Wed Jun 08 21:38:45 2022 +0200
+++ b/test/test_buffer.cpp	Mon Jul 25 14:01:45 2022 +0200
@@ -437,7 +437,7 @@
     ASSERT_EQ(buf.capacity, 8);
     ASSERT_EQ(buf.pos, 4);
     ASSERT_EQ(buf.size, 4);
-    int c = cxBufferPut(&buf, 0x20 | 'a');
+    int c = cxBufferPut(&buf, 0x200 | 'a');
     EXPECT_EQ(c, 'a');
     EXPECT_EQ(buf.size, 5);
     EXPECT_EQ(buf.pos, 5);
@@ -449,7 +449,7 @@
     ASSERT_EQ(buf.capacity, 8);
     ASSERT_EQ(buf.size, 4);
     buf.pos = 8;
-    int c = cxBufferPut(&buf, 0x20 | 'a');
+    int c = cxBufferPut(&buf, 0x200 | 'a');
     EXPECT_EQ(c, EOF);
     EXPECT_EQ(buf.size, 4);
     EXPECT_EQ(buf.pos, 8);
@@ -462,7 +462,7 @@
     ASSERT_EQ(buf.capacity, 8);
     ASSERT_EQ(buf.size, 4);
     buf.pos = 8;
-    int c = cxBufferPut(&buf, 0x20 | 'a');
+    int c = cxBufferPut(&buf, 0x200 | 'a');
     EXPECT_EQ(c, 'a');
     EXPECT_EQ(buf.size, 9);
     EXPECT_EQ(buf.pos, 9);

mercurial