fix: module context should be immutable #3498
Annotations
2 errors
Test:
go-runtime/modulecontext/from_environment_test.go#L46
=== RUN TestFromEnvironment
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/TestFromEnvironment1371402756/001/.git/
go-runtime/modulecontext/from_environment_test.go:46: Expected values to be equal:
},
Databases: []*ftlv1.ModuleContextResponse_DSN{
{
- Name: "echo",
+ Name: "ECHO",
Dsn: "***localhost:5432/echo",
},
},
--- FAIL: TestFromEnvironment (0.02s)
|
Test
Process completed with exit code 1.
|
Loading