~sircmpwn/harec

67801614af5a698e19e1908ba35666a16c7ad87b — Sebastian 1 year, 25 days ago 4019807
tests/00-constants: fix tests which didn't parse

Signed-off-by: Sebastian <sebastian@sebsite.pw>
1 files changed, 9 insertions(+), 9 deletions(-)

M tests/00-constants.ha
M tests/00-constants.ha => tests/00-constants.ha +9 -9
@@ 475,15 475,15 @@ fn numeric() void = {
		"1p-1.1",
	];
	let extra: [_]str = [
		"4e-0i;", "4e-1i;",
		"4e-0i8;", "4e-1i8;",

		"0b1e-1f32;",
		"0o1e-1f32;",
		"0x1e+1f32;",
		"0x1e-1f32;",
		"0b1p-1f32;",
		"0o1p-1f32;",
		"let t = 4e-0i;", "let t = 4e-1i;",
		"let t = 4e-0i8;", "let t = 4e-1i8;",

		"let t = 0b1e-1f32;",
		"let t = 0o1e-1f32;",
		"let t = 0x1e+1f32;",
		"let t = 0x1e-1f32;",
		"let t = 0b1p-1f32;",
		"let t = 0o1p-1f32;",

		// exponent overflow
		"let t: u64 = 1e1000;",