mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 13:02:07 +03:00
Simplify test for 6248 (#6343)
As per suggestion https://github.com/enso-org/enso/pull/6275#discussion_r1167388449
This commit is contained in:
parent
d14e57b2ff
commit
0088672f9b
@ -92,7 +92,12 @@ public class TypeMembersTest {
|
||||
public void ensureNonBuiltinMembersArePresent() throws Exception {
|
||||
final URI uri = new URI("memory://how_long.enso");
|
||||
final Source src = Source.newBuilder("enso", """
|
||||
from Standard.Base.Errors.Common import Compile_Error
|
||||
@Builtin_Type
|
||||
type Compile_Error
|
||||
Error message
|
||||
|
||||
to_display_text self = "Compile error: "+self.message
|
||||
|
||||
v = Compile_Error.Error "foo"
|
||||
""", "to_display_text.enso")
|
||||
.uri(uri)
|
||||
|
Loading…
Reference in New Issue
Block a user