Minor refactor

This commit is contained in:
Peng-YM
2022-06-16 11:19:00 +08:00
parent f76096f244
commit 56ada242d2
13 changed files with 38 additions and 45 deletions

View File

@@ -1,10 +1,9 @@
import { expect } from 'chai';
import * as peggy from 'peggy';
import loon from '../../src/core/proxy-utils/grammars/loon';
import getLoonParser from '../../src/core/proxy-utils/peggy/loon';
import testcases from './testcases';
import { describe, it } from 'mocha';
const parser = peggy.generate(loon);
const parser = getLoonParser();
describe('Loon', function() {
describe('shadowsocks', function() {