Skip to content

Instantly share code, notes, and snippets.

@kermit-klein
Created October 17, 2020 22:20
Show Gist options
  • Save kermit-klein/e53b40ada66df6071107d049bf26ca1d to your computer and use it in GitHub Desktop.
Save kermit-klein/e53b40ada66df6071107d049bf26ca1d to your computer and use it in GitHub Desktop.
testfile
require 'CheckParans'
our_test_code_1 = 'const result = array.map((element)=>element*2)'
our_test_code_2 = 'const result = array.map((element)=>element*2))'
CheckParans.valid_parentheses(our_test_code_1)
CheckParans.valid_parentheses(our_test_code_2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment