makefile
This commit is contained in:
+2
-2
@@ -855,7 +855,7 @@ lexer_diagnoses_invalid_import_strings :: proc(t: ^testing.T) {
|
||||
}
|
||||
|
||||
@(test)
|
||||
package_loader_discovers_lexical_immediate_bro_files :: proc(t: ^testing.T) {
|
||||
package_loader_discovers_lexical_immediate_source_files :: proc(t: ^testing.T) {
|
||||
sources := source.init_store()
|
||||
defer source.destroy_store(&sources)
|
||||
diagnostics := source.init_store_diagnostics(&sources)
|
||||
@@ -870,7 +870,7 @@ package_loader_discovers_lexical_immediate_bro_files :: proc(t: ^testing.T) {
|
||||
testing.expect_value(t, len(module.packages), 2)
|
||||
testing.expect_value(t, len(module.files), 3)
|
||||
testing.expect(t, strings.has_suffix(sources.items[module.files[0].source].path, "/main.bro"))
|
||||
testing.expect(t, strings.has_suffix(sources.items[module.files[1].source].path, "/value.bro"))
|
||||
testing.expect(t, strings.has_suffix(sources.items[module.files[1].source].path, "/value.hon"))
|
||||
testing.expect(t, strings.has_suffix(sources.items[module.files[2].source].path, "/math.bro"))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user