Skip to content

Commit

Permalink
testsuite: fix spelling in schema test functions
Browse files Browse the repository at this point in the history
Problem: schema_test01 and schema_test02 have
misspellings of "constructors" and "assignment."
Fix the spelling.
  • Loading branch information
milroy committed Aug 20, 2023
1 parent 10aa642 commit 03a2410
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions resource/schema/test/schema_test01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

using namespace Flux::resource_model;

static int test_constuctors_and_overload ()
static int test_constructors_and_overload ()
{
bool bo = false;
schedule_t *sched1, *sched2, *sched3, *sched4, *sched5 = nullptr;
Expand Down Expand Up @@ -70,7 +70,7 @@ static int test_constuctors_and_overload ()

*sched5 = *sched1;
bo = (bo || !(*sched5 == *sched1));
ok (!bo, "schedule_t assingment overload works with state");
ok (!bo, "schedule_t assignment overload works with state");

delete sched1;
delete sched2;
Expand All @@ -86,7 +86,7 @@ int main (int argc, char *argv[])
{
plan (7);

test_constuctors_and_overload ();
test_constructors_and_overload ();

done_testing ();

Expand Down
6 changes: 3 additions & 3 deletions resource/schema/test/schema_test02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

using namespace Flux::resource_model;

static int test_constuctors_and_overload ()
static int test_constructors_and_overload ()
{
bool bo = false;
size_t len = 5;
Expand Down Expand Up @@ -148,7 +148,7 @@ static int test_constuctors_and_overload ()

*infra9 = *infra1;
bo = (bo || !(*infra9 == *infra1));
ok (!bo, "pool_infra_t assingment overload works with state");
ok (!bo, "pool_infra_t assignment overload works with state");

infra10 = new pool_infra_t (*infra9);
bo = (bo || !(*infra10 == *infra1));
Expand All @@ -173,7 +173,7 @@ int main (int argc, char *argv[])
{
plan (12);

test_constuctors_and_overload ();
test_constructors_and_overload ();

done_testing ();

Expand Down

0 comments on commit 03a2410

Please sign in to comment.