19 lines
422 B
Go
19 lines
422 B
Go
package parser
|
|
|
|
import "os"
|
|
import "testing"
|
|
import "path/filepath"
|
|
|
|
func TestMeta (test *testing.T) {
|
|
cwd, _ := os.Getwd()
|
|
checkTree ("../tests/parser/meta", false,
|
|
`:arf
|
|
author 'Sasha Koshka'
|
|
license 'GPLv3'
|
|
require '` + filepath.Join(cwd, "../tests/parser/meta/some/local/module") + `'
|
|
require '/usr/local/include/arf/someLibraryInstalledInStandardLocation'
|
|
require '/some/absolute/path/to/someModule'
|
|
---
|
|
`, test)
|
|
}
|