From 5d12b68979f0ad95a57df76debb77e8c738176f2 Mon Sep 17 00:00:00 2001 From: windwp Date: Tue, 9 Mar 2021 09:26:36 +0700 Subject: [PATCH] add some test case --- sample/index.html | 2 + sample/index.tsx | 2 +- sample/index.vue | 5 +- tests/{tag_spec.lua => closetag_spec.lua} | 47 +++++---- tests/renametag_spec.lua | 119 ++++++++++++++++++++++ 5 files changed, 147 insertions(+), 28 deletions(-) rename tests/{tag_spec.lua => closetag_spec.lua} (80%) create mode 100644 tests/renametag_spec.lua diff --git a/sample/index.html b/sample/index.html index ced4949..404e7ac 100644 --- a/sample/index.html +++ b/sample/index.html @@ -8,5 +8,7 @@ + + diff --git a/sample/index.tsx b/sample/index.tsx index 795830f..7a822a0 100644 --- a/sample/index.tsx +++ b/sample/index.tsx @@ -9,7 +9,7 @@ const SamplePage: React.FC = () => { return (
- + ) } diff --git a/sample/index.vue b/sample/index.vue index 15cf1bc..ebdab11 100644 --- a/sample/index.vue +++ b/sample/index.vue @@ -1,11 +1,10 @@