test: use canonical nested library imports

This commit is contained in:
2026-08-13 02:51:00 +09:00
parent cc6799c3b1
commit 10d24a3237
10 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
package base32_test; package base32_test;
import base32; import encoding.base32;
fn putstr(s: str, into: []u8, off: i32) i32 = { fn putstr(s: str, into: []u8, off: i32) i32 = {
let i: i32 = 0; let i: i32 = 0;

View File

@@ -8,7 +8,7 @@
package base64_test; package base64_test;
import base64; import encoding.base64;
import bytes; import bytes;
import errors; import errors;
import io; import io;

View File

@@ -1,6 +1,6 @@
package adler32_test; package adler32_test;
import adler32; import hash.adler32;
fn putstr(s: str, into: []u8, off: i32) i32 = { fn putstr(s: str, into: []u8, off: i32) i32 = {
let i: i32 = 0; let i: i32 = 0;

View File

@@ -1,6 +1,6 @@
package crc16_test; package crc16_test;
import crc16; import hash.crc16;
fn putstr(s: str, into: []u8, off: i32) i32 = { fn putstr(s: str, into: []u8, off: i32) i32 = {
let i: i32 = 0; let i: i32 = 0;

View File

@@ -1,6 +1,6 @@
package crc32_test; package crc32_test;
import crc32; import hash.crc32;
fn putstr(s: str, into: []u8, off: i32) i32 = { fn putstr(s: str, into: []u8, off: i32) i32 = {
let i: i32 = 0; let i: i32 = 0;

View File

@@ -1,6 +1,6 @@
package crc64_test; package crc64_test;
import crc64; import hash.crc64;
fn putstr(s: str, into: []u8, off: i32) i32 = { fn putstr(s: str, into: []u8, off: i32) i32 = {
let i: i32 = 0; let i: i32 = 0;

View File

@@ -1,6 +1,6 @@
package siphash_test; package siphash_test;
import siphash; import hash.siphash;
fn putstr(s: str, into: []u8, off: i32) i32 = { fn putstr(s: str, into: []u8, off: i32) i32 = {
let i: i32 = 0; let i: i32 = 0;

View File

@@ -7,7 +7,7 @@
package syntax_test; package syntax_test;
import syntax; import ww.syntax;
fn checknkname(k: nkind, want: str) void = { fn checknkname(k: nkind, want: str) void = {

View File

@@ -9,7 +9,7 @@
package syntax_test; package syntax_test;
import syntax; import ww.syntax;
@test fn scope_define_lookup() void = { @test fn scope_define_lookup() void = {
let s: *scope = newscope(nil); let s: *scope = newscope(nil);

View File

@@ -19,7 +19,7 @@
package syntax_test; package syntax_test;
import os; import os;
import syntax; import ww.syntax;
import temp; import temp;