@@ -49,7 +49,7 @@ fn test_unique_id() {
49
49
fn test_lang_string_parse ( ) {
50
50
fn t ( lg : LangString ) {
51
51
let s = & lg. original ;
52
- assert_eq ! ( LangString :: parse( s, ErrorCodes :: Yes , true , None ) , lg)
52
+ assert_eq ! ( LangString :: parse( s, ErrorCodes :: Yes , true , None , true ) , lg)
53
53
}
54
54
55
55
t ( Default :: default ( ) ) ;
@@ -290,6 +290,7 @@ fn test_header() {
290
290
edition : DEFAULT_EDITION ,
291
291
playground : & None ,
292
292
heading_offset : HeadingOffset :: H2 ,
293
+ custom_code_classes_in_docs : true ,
293
294
}
294
295
. into_string ( ) ;
295
296
assert_eq ! ( output, expect, "original: {}" , input) ;
@@ -329,6 +330,7 @@ fn test_header_ids_multiple_blocks() {
329
330
edition : DEFAULT_EDITION ,
330
331
playground : & None ,
331
332
heading_offset : HeadingOffset :: H2 ,
333
+ custom_code_classes_in_docs : true ,
332
334
}
333
335
. into_string ( ) ;
334
336
assert_eq ! ( output, expect, "original: {}" , input) ;
@@ -433,7 +435,7 @@ fn test_find_testable_code_line() {
433
435
}
434
436
}
435
437
let mut lines = Vec :: < usize > :: new ( ) ;
436
- find_testable_code ( input, & mut lines, ErrorCodes :: No , false , None ) ;
438
+ find_testable_code ( input, & mut lines, ErrorCodes :: No , false , None , true ) ;
437
439
assert_eq ! ( lines, expect) ;
438
440
}
439
441
@@ -458,6 +460,7 @@ fn test_ascii_with_prepending_hashtag() {
458
460
edition : DEFAULT_EDITION ,
459
461
playground : & None ,
460
462
heading_offset : HeadingOffset :: H2 ,
463
+ custom_code_classes_in_docs : true ,
461
464
}
462
465
. into_string ( ) ;
463
466
assert_eq ! ( output, expect, "original: {}" , input) ;
0 commit comments