xgo/testdata/issue286/dos/cinco/cinco.mshk
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

8 lines
No EOL
145 B
Text

export {
fn: func(...args) {
text := import("text")
args = append(args, "cinco")
return text.join(args, " ")
}
}