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
|
2022-10-04 21:13:08 +00:00
|
|
|
author 'Sasha Koshka'
|
|
|
|
license 'GPLv3'
|
2022-10-12 18:23:09 +00:00
|
|
|
require '` + filepath.Join(cwd, "../tests/parser/meta/some/local/module") + `'
|
2022-10-04 21:13:08 +00:00
|
|
|
require '/usr/local/include/arf/someLibraryInstalledInStandardLocation'
|
|
|
|
require '/some/absolute/path/to/someModule'
|
2022-08-24 05:22:24 +00:00
|
|
|
---
|
|
|
|
`, test)
|
|
|
|
}
|