Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions c/tests/meson-subproject/example.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2020 Tskit Developers
* Copyright (c) 2019-2022 Tskit Developers
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -43,7 +43,7 @@ test_strerror()
{
printf("test_strerror\n");
const char *str = tsk_strerror(TSK_ERR_NO_MEMORY);
assert(strcmp(str, "Out of memory") == 0);
assert(strcmp(str, "Out of memory. (TSK_ERR_NO_MEMORY)") == 0);
}

void
Expand Down
4 changes: 2 additions & 2 deletions c/tests/test_minimal_cpp.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* * MIT License
*
* Copyright (c) 2019-2021 Tskit Developers
* Copyright (c) 2019-2022 Tskit Developers
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -50,7 +50,7 @@ test_strerror()
std::cout << "test_strerror" << endl;
std::ostringstream o;
o << tsk_strerror(TSK_ERR_NO_MEMORY);
assert(std::string("Out of memory").compare(o.str()) == 0);
assert(std::string("Out of memory. (TSK_ERR_NO_MEMORY)").compare(o.str()) == 0);
}

void
Expand Down
Loading