about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-04-23 17:02:37 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-04-23 17:02:37 +0200
commit977603cd1f62c24bfa788fb6ade53660bdf2f2c2 (patch)
tree671523026fddaef7a567c0600307fe21de8f1b3b /src
parent96a352ebd3cd0a40ed2c5804b82496782ef78b69 (diff)
downloadrust-977603cd1f62c24bfa788fb6ade53660bdf2f2c2.tar.gz
rust-977603cd1f62c24bfa788fb6ade53660bdf2f2c2.zip
Update LangString::parse usage in markdown tests
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/markdown/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/markdown/tests.rs b/src/librustdoc/html/markdown/tests.rs
index 48231ce7b73..c871587a0a9 100644
--- a/src/librustdoc/html/markdown/tests.rs
+++ b/src/librustdoc/html/markdown/tests.rs
@@ -64,7 +64,7 @@ fn test_lang_string_parse() {
         edition: Option<Edition>,
     ) {
         assert_eq!(
-            LangString::parse(s, ErrorCodes::Yes, true),
+            LangString::parse(s, ErrorCodes::Yes, true, None),
             LangString {
                 should_panic,
                 no_run,