@@ -18,7 +18,7 @@ func TestValidateNoDuplicateRemoteURLs(t *testing.T) {
1818 "existing1" : {
1919 Name : "com.example/existing-server" ,
2020 Description : "An existing server" ,
21- Version : "1.0.0" ,
21+ Version : "1.0.0" ,
2222 Remotes : []model.Transport {
2323 {Type : "streamable-http" , URL : "https://api.example.com/mcp" },
2424 {Type : "sse" , URL : "https://webhook.example.com/sse" },
@@ -27,7 +27,7 @@ func TestValidateNoDuplicateRemoteURLs(t *testing.T) {
2727 "existing2" : {
2828 Name : "com.microsoft/another-server" ,
2929 Description : "Another existing server" ,
30- Version : "1.0.0" ,
30+ Version : "1.0.0" ,
3131 Remotes : []model.Transport {
3232 {Type : "streamable-http" , URL : "https://api.microsoft.com/mcp" },
3333 },
@@ -55,8 +55,8 @@ func TestValidateNoDuplicateRemoteURLs(t *testing.T) {
5555 serverDetail : apiv0.ServerJSON {
5656 Name : "com.example/new-server" ,
5757 Description : "A new server with no remotes" ,
58- Version : "1.0.0" ,
59- Remotes : []model.Transport {},
58+ Version : "1.0.0" ,
59+ Remotes : []model.Transport {},
6060 },
6161 expectError : false ,
6262 },
@@ -65,7 +65,7 @@ func TestValidateNoDuplicateRemoteURLs(t *testing.T) {
6565 serverDetail : apiv0.ServerJSON {
6666 Name : "com.example/new-server" ,
6767 Description : "A new server" ,
68- Version : "1.0.0" ,
68+ Version : "1.0.0" ,
6969 Remotes : []model.Transport {
7070 {Type : "streamable-http" , URL : "https://new.example.com/mcp" },
7171 {Type : "sse" , URL : "https://unique.example.com/sse" },
@@ -78,7 +78,7 @@ func TestValidateNoDuplicateRemoteURLs(t *testing.T) {
7878 serverDetail : apiv0.ServerJSON {
7979 Name : "com.example/new-server" ,
8080 Description : "A new server with duplicate URL" ,
81- Version : "1.0.0" ,
81+ Version : "1.0.0" ,
8282 Remotes : []model.Transport {
8383 {Type : "streamable-http" , URL : "https://api.example.com/mcp" }, // This URL already exists
8484 },
@@ -91,7 +91,7 @@ func TestValidateNoDuplicateRemoteURLs(t *testing.T) {
9191 serverDetail : apiv0.ServerJSON {
9292 Name : "com.example/existing-server" , // Same name as existing
9393 Description : "Updated existing server" ,
94- Version : "1.1.0" ,
94+ Version : "1.1.0" ,
9595 Remotes : []model.Transport {
9696 {Type : "streamable-http" , URL : "https://api.example.com/mcp" }, // Same URL as before
9797 },
0 commit comments