Simplify test for 6248 (#6343)

As per suggestion https://github.com/enso-org/enso/pull/6275#discussion_r1167388449
This commit is contained in:
Hubert Plociniczak 2023-04-19 11:43:52 +02:00 committed by GitHub
parent d14e57b2ff
commit 0088672f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)