@@ -2654,7 +2654,7 @@ TEST(TesseractCommonUnit, YamlBasicIncludeTest) // NOLINT
2654
2654
// Create test files
2655
2655
createTestYamlWithIncludeDirectivesFile (test_dir + " main.yaml" , R"(
2656
2656
key1: value1
2657
- key2: !include ./ included.yaml
2657
+ key2: !include included.yaml
2658
2658
)" );
2659
2659
createTestYamlWithIncludeDirectivesFile (test_dir + " included.yaml" , R"(
2660
2660
included_key1: included_value1
@@ -2691,10 +2691,10 @@ TEST(TesseractCommonUnit, YamlIncludeNestedIncludesTest) // NOLINT
2691
2691
// Create test files
2692
2692
createTestYamlWithIncludeDirectivesFile (test_dir + " main.yaml" , R"(
2693
2693
key1: value1
2694
- key2: !include ./ included.yaml
2694
+ key2: !include included.yaml
2695
2695
)" );
2696
2696
createTestYamlWithIncludeDirectivesFile (test_dir + " included.yaml" , R"(
2697
- nested_key1: !include ./ nested.yaml
2697
+ nested_key1: !include nested.yaml
2698
2698
)" );
2699
2699
createTestYamlWithIncludeDirectivesFile (test_dir + " nested.yaml" , R"(
2700
2700
deep_key1: deep_value1
@@ -2728,7 +2728,7 @@ TEST(TesseractCommonUnit, YamlIncludeSequenceIncludesTest) // NOLINT
2728
2728
createTestYamlWithIncludeDirectivesFile (test_dir + " main.yaml" , R"(
2729
2729
key1:
2730
2730
- item1
2731
- - !include ./ included.yaml
2731
+ - !include included.yaml
2732
2732
)" );
2733
2733
createTestYamlWithIncludeDirectivesFile (test_dir + " included.yaml" , R"(
2734
2734
- included_item1
@@ -2765,7 +2765,7 @@ TEST(TesseractCommonUnit, YamlIncludeSequenceIncludesMapTest) // NOLINT
2765
2765
createTestYamlWithIncludeDirectivesFile (test_dir + " main.yaml" , R"(
2766
2766
key1:
2767
2767
- item1
2768
- - !include ./ included.yaml
2768
+ - !include included.yaml
2769
2769
)" );
2770
2770
createTestYamlWithIncludeDirectivesFile (test_dir + " included.yaml" , R"(
2771
2771
keyA: valueA
@@ -2803,7 +2803,7 @@ TEST(TesseractCommonUnit, YamlIncludeMissingIncludeFileTest) // NOLINT
2803
2803
2804
2804
// Create a test file
2805
2805
createTestYamlWithIncludeDirectivesFile (test_dir + " main.yaml" , R"(
2806
- key1: !include ./ missing.yaml
2806
+ key1: !include missing.yaml
2807
2807
)" );
2808
2808
2809
2809
// Attempt to load the main file and expect an exception
0 commit comments