10 linhas
171B

  1. #include <fansi/writer.hpp>
  2. #include <catch2/catch.hpp>
  3. TEST_CASE("Write a string") {
  4. fansi::text_writer wr;
  5. wr.write("foo");
  6. CHECK(wr.string() == "foo");
  7. }