This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
arf/parser/meta_test.go

19 lines
422 B
Go
Raw Normal View History

package parser
import "os"
import "testing"
import "path/filepath"
func TestMeta (test *testing.T) {
cwd, _ := os.Getwd()
2022-09-05 12:52:37 -06:00
checkTree ("../tests/parser/meta", false,
`:arf
2022-10-04 15:13:08 -06:00
author 'Sasha Koshka'
license 'GPLv3'
require '` + filepath.Join(cwd, "../tests/parser/meta/some/local/module") + `'
2022-10-04 15:13:08 -06:00
require '/usr/local/include/arf/someLibraryInstalledInStandardLocation'
require '/some/absolute/path/to/someModule'
---
`, test)
}