X31-DuplicatedTestCases.cpp
1 2 // Copyright Catch2 Authors 3 // Distributed under the Boost Software License, Version 1.0. 4 // (See accompanying file LICENSE.txt or copy at 5 // https://www.boost.org/LICENSE_1_0.txt) 6 7 // SPDX-License-Identifier: BSL-1.0 8 9 /**\file 10 * Checks that test cases with identical name and tags are reported as error 11 */ 12 13 #include <catch2/catch_test_macros.hpp> 14 15 TEST_CASE("A test case with duplicated name and tags", "[tag1][tag2]") {} 16 TEST_CASE("A test case with duplicated name and tags", "[tag1][tag2]") {}