fix: Update unix-like path regex (#1637)
* Revert import value regex * Update linux path regex Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
@@ -23,6 +23,7 @@ func TestImportRegex(t *testing.T) {
|
||||
|
||||
{`"bar..api"`, false},
|
||||
{`"//bar.api"`, false},
|
||||
{`"/foo/foo_bar.api"`, true},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.value, func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user