xgo/testdata/issue286/tres.tengo
KEINOS 4846cf5243
add custom extension support for importing source file (#350)
* chore: add tests for custom extension

* feat: cusom source extension #286

* fix: path to test directory

* add getter + change setter name for file extension

* add tests of source file extension validation

* fix: add validation for file extension names

* fix: property importExt -> importFileExt

* fix: redundant check (no resetting)

* fix: failing test wich did not follow the new spec

* chore: add detailed description of the test

* chore: fix doc comment to be descriptive

* docs: add note about customizing the file extension
2021-11-13 15:13:39 -08:00

6 lines
No EOL
135 B
Text

export {
fn: func(a, b, c) {
quatro := import("./dos/quatro/quatro.mshk")
return quatro.fn(a, b, c, "tres")
}
}