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
Sasha Koshka ea92decfe7 Fixed meta test
Parser now passes all tests
2022-09-17 12:31:23 -04:00

19 lines
403 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, "./some/local/module") + `"
require "/some/absolute/path/to/someModule"
require "/usr/local/include/arf/someLibraryInstalledInStandardLocation"
---
`, test)
}