fixed/config_test.j
use strings;
use testing;
func deepConfig() { load(strings.replicate("[", 5000)); }
func brokenConfig() { load("[1, 2"); }
func testCapStaysLimit() {
testing.assertThrows("deepConfig", "limit");
}
func testMalformedIsConfig() {
testing.assertThrows("brokenConfig", "config");
}