소스 검색

Add a couple more tests.

tags/v0.3
Ben Kurtovic 10 년 전
부모
커밋
176290d75a
1개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. +14
    -0
      tests/tokenizer/external_links.mwtest

+ 14
- 0
tests/tokenizer/external_links.mwtest 파일 보기

@@ -432,6 +432,13 @@ output: [Text(text="[http://")]

---

name: incomplete_bracket
label: just an open bracket
input: "["
output: [Text(text="[")]

---

name: incomplete_scheme_colon
label: a free link with just a scheme and a colon
input: "http:"
@@ -447,6 +454,13 @@ output: [Text(text="http://")]
---

name: brackets_scheme_but_no_url
label: brackets around a scheme and a colon
input: "[mailto:]"
output: [Text(text="[mailto:]")]

---

name: brackets_scheme_slashes_but_no_url
label: brackets around a scheme, colon, and slashes
input: "[http://]"
output: [Text(text="[http://]")]


불러오는 중...
취소
저장