20 lines
352 B
C++
20 lines
352 B
C++
#include "test/test.h"
|
|
#include "feature/feature.h"
|
|
|
|
namespace clice::testing {
|
|
|
|
namespace {
|
|
|
|
TEST_SUITE(Formatting) {
|
|
|
|
TEST_CASE(Simple) {
|
|
auto edits = feature::document_format("main.cpp", "int main() { return 0; }", std::nullopt);
|
|
ASSERT_NE(edits.size(), 0U);
|
|
}
|
|
|
|
}; // TEST_SUITE(Formatting)
|
|
|
|
} // namespace
|
|
|
|
} // namespace clice::testing
|