aboutsummaryrefslogtreecommitdiff
path: root/test/common/StringTest.cpp
blob: 1200a60bc8bfbd7616655f9d11258a9fe6bfd5b2 (plain)
1
2
3
4
5
6
7
8
9
#include "cru/common/String.hpp"

#include <gtest/gtest.h>

TEST(String, Format) {
  using cru::Format;

  ASSERT_EQ(Format(u"{} + {} = {}", 123, 321, 444), u"123 + 321 = 444");
}