Skip to content

Commit d3a7556

Browse files
Add add'l tests
1 parent 42663b8 commit d3a7556

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/host/fs/test_fs.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ TEST_CASE("Multisplendored File::writes", "[fs]")
343343
f.write('a');
344344
f.write(65);
345345
f.write("bbcc");
346+
f.write("theend", 6);
347+
char block[3]={'x','y','z'};
348+
f.write(block, 3);
349+
uint32_t bigone = 0x40404040;
350+
f.write((const uint8_t*)&bigone, 4);
346351
f.close();
347-
REQUIRE(readFileSD("/file.txt") == "aAbbcc");
352+
REQUIRE(readFileSD("/file.txt") == "aAbbcctheendxyz@@@@");
348353
}

0 commit comments

Comments
 (0)