Skip to content

Commit 7e62cb4

Browse files
committed
Add swap_table to script test
1 parent ae64f29 commit 7e62cb4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • crates/bridge_harfbuzz/src

crates/bridge_harfbuzz/src/ot.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ mod tests {
326326
table.find_script(script.tag()).unwrap().script
327327
);
328328

329+
script.swap_table().unwrap();
330+
329331
let script2 = table.script(1).unwrap();
330332

331333
assert_eq!(script2.tag(), Tag::from_str("cyrl"));
@@ -334,6 +336,8 @@ mod tests {
334336
script2.script,
335337
table.find_script(script2.tag()).unwrap().script
336338
);
339+
340+
script2.swap_table().unwrap();
337341
}
338342
}
339343
}

0 commit comments

Comments
 (0)