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.
2022-08-24 05:22:24 +00:00
|
|
|
package parser
|
|
|
|
|
2022-09-07 21:12:46 +00:00
|
|
|
import "os"
|
2022-08-24 05:22:24 +00:00
|
|
|
import "testing"
|
2022-09-07 21:12:46 +00:00
|
|
|
import "path/filepath"
|
2022-08-24 05:22:24 +00:00
|
|
|
|
|
|
|
func TestMeta (test *testing.T) {
|
2022-09-07 21:12:46 +00:00
|
|
|
cwd, _ := os.Getwd()
|
2022-09-05 18:52:37 +00:00
|
|
|
checkTree ("../tests/parser/meta", false,
|
2022-08-24 05:22:24 +00:00
|
|
|
`:arf
|
|
|
|
author "Sasha Koshka"
|
|
|
|
license "GPLv3"
|
2022-09-07 21:12:46 +00:00
|
|
|
require "` + filepath.Join(cwd, "./some/local/module") + `"
|
2022-09-17 16:31:23 +00:00
|
|
|
require "/usr/local/include/arf/someLibraryInstalledInStandardLocation"
|
2022-09-29 15:06:45 +00:00
|
|
|
require "/some/absolute/path/to/someModule"
|
2022-08-24 05:22:24 +00:00
|
|
|
---
|
|
|
|
`, test)
|
|
|
|
}
|