allow-url-language-selection
yann300 3 years ago
parent 9da0570371
commit daf1eb9500
  1. 1
      libs/remix-solidity/src/compiler/compiler-input.ts
  2. 8
      libs/remix-solidity/test/compiler-input.ts

@ -42,4 +42,3 @@ export function getValidLanguage (val: string): Language {
}
return null
}

@ -1,14 +1,14 @@
'use strict'
import tape from 'tape'
import { getValidLanguage } from "../src/compiler/compiler-input";
import { Language } from "../src/compiler/types";
import { getValidLanguage } from '../src/compiler/compiler-input'
import { Language } from '../src/compiler/types'
tape('compiler-input', function (t) {
t.test('getValidLanguage', function (st) {
st.plan(9)
const correctYul: Language = 'Yul';
const correctSolidity: Language = 'Solidity';
const correctYul: Language = 'Yul'
const correctSolidity: Language = 'Solidity'
const yulUpperCase = 'Yul'
const yulLowerCase = 'yul'

Loading…
Cancel
Save