From a6b6f97a5000694f460ab0bf9773f1721c306f7d Mon Sep 17 00:00:00 2001 From: Jan Eisenhauer <44572464+JanEisenhauer@users.noreply.github.com> Date: Tue, 11 Jun 2019 11:17:01 +0200 Subject: [PATCH] Solve copy-paste errors. --- test/flat_map_test.cpp | 4 ++-- test/flat_set_test.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/flat_map_test.cpp b/test/flat_map_test.cpp index cbf9c41..e3c3347 100644 --- a/test/flat_map_test.cpp +++ b/test/flat_map_test.cpp @@ -581,13 +581,13 @@ struct with_lookup_by_first bool test_heterogeneous_lookup_by_partial_key() { - flat_set, with_lookup_by_first> const set1 + flat_map, with_lookup_by_first> const map1 { {{0, 1}, 3}, {{0, 2}, 3}, }; - auto const first_0_range = uut.equal_range(0); + auto const first_0_range = map1.equal_range(0); return 2 == first_0_range.second - first_0_range.first; } diff --git a/test/flat_set_test.cpp b/test/flat_set_test.cpp index 054be9e..c74cb78 100644 --- a/test/flat_set_test.cpp +++ b/test/flat_set_test.cpp @@ -603,7 +603,7 @@ bool test_heterogeneous_lookup_by_partial_key() {0, 2}, }; - auto const first_0_range = uut.equal_range(0); + auto const first_0_range = set1.equal_range(0); return 2 == first_0_range.second - first_0_range.first; }