mirror of
https://github.com/alexhopeoconnor/DFTE.git
synced 2026-10-18 18:51:42 +10:00
feat: prepare DFTE 1.0.2
This commit is contained in:
@@ -38,7 +38,7 @@ void test_template_context_initialization() {
|
||||
ctx.state = TemplateRenderState::COMPLETE;
|
||||
TEST_ASSERT_TRUE_MESSAGE(ctx.isComplete(), "Should be complete when state is COMPLETE");
|
||||
ctx.state = TemplateRenderState::ERROR;
|
||||
TEST_ASSERT_TRUE_MESSAGE(ctx.isComplete(), "Should be complete when state is ERROR");
|
||||
TEST_ASSERT_FALSE_MESSAGE(ctx.isComplete(), "An error must not report successful completion");
|
||||
|
||||
// Test hasError
|
||||
ctx.state = TemplateRenderState::TEXT;
|
||||
@@ -310,7 +310,7 @@ void test_template_context_state() {
|
||||
TEST_ASSERT_TRUE_MESSAGE(ctx.isComplete(), "COMPLETE should be complete");
|
||||
|
||||
ctx.state = TemplateRenderState::ERROR;
|
||||
TEST_ASSERT_TRUE_MESSAGE(ctx.isComplete(), "ERROR should be complete");
|
||||
TEST_ASSERT_FALSE_MESSAGE(ctx.isComplete(), "ERROR should not be complete");
|
||||
|
||||
// Test hasError for all states
|
||||
ctx.state = TemplateRenderState::TEXT;
|
||||
|
||||
Reference in New Issue
Block a user