aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/call_stack.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 17:13:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 17:13:43 +0300
commitbe50ad395f97a264395d1950e30752bb927105d5 (patch)
treea394e32822f84ea324848d3e656933947485240e /test/unit_tests/call_stack.cpp
parentunit_tests: adjust test messages (diff)
downloadwinapi-debug-be50ad395f97a264395d1950e30752bb927105d5.tar.gz
winapi-debug-be50ad395f97a264395d1950e30752bb927105d5.zip
add missing copyright headers
Diffstat (limited to '')
-rw-r--r--test/unit_tests/call_stack.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/unit_tests/call_stack.cpp b/test/unit_tests/call_stack.cpp
index cc5b74e..531562e 100644
--- a/test/unit_tests/call_stack.cpp
+++ b/test/unit_tests/call_stack.cpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#include "fixtures.hpp"
#include <pdb/all.hpp>
@@ -17,7 +22,7 @@ BOOST_AUTO_TEST_CASE(call_stack) {
try {
test_ns::throw_call_stack();
} catch (const pdb::CallStack& call_stack) {
- // First, check that the call stack have been caught.
+ // First, check that the call stack has been caught.
BOOST_TEST(true, "Caught the call stack");
// Debug output:
@@ -49,7 +54,7 @@ BOOST_AUTO_TEST_CASE(call_stack) {
}
{
- // Third, check that the expected function frames are in the call stack.
+ // Third, check that the expected function addresses are in the call stack.
const auto expected = expected_function_addresses();
const auto check = [&](pdb::Address addr) {