Skip to content

Commit 39cdaad

Browse files
committed
liinter errors
1 parent e0c3bb0 commit 39cdaad

5 files changed

Lines changed: 17 additions & 17 deletions

File tree

internal/app/app_test.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func Test_App_UpdateDefaultProjectFiles(t *testing.T) {
3535
}{
3636
"manifest.json file exists": {
3737
appDirName: "vibrant-butterfly-1234",
38-
displayName: "Vibrant Butterfly 1234",
38+
displayName: "Vibrant butterfly - 1234",
3939
existingFiles: map[string]string{
4040
"manifest.json": string(testdata.ManifestJSON),
4141
},
@@ -46,7 +46,7 @@ func Test_App_UpdateDefaultProjectFiles(t *testing.T) {
4646
},
4747
"manifest.js file exists": {
4848
appDirName: "vibrant-butterfly-1234",
49-
displayName: "Vibrant Butterfly 1234",
49+
displayName: "Vibrant butterfly - 1234",
5050
existingFiles: map[string]string{
5151
"manifest.js": string(testdata.ManifestJS),
5252
},
@@ -57,7 +57,7 @@ func Test_App_UpdateDefaultProjectFiles(t *testing.T) {
5757
},
5858
"manifest.ts file exists": {
5959
appDirName: "vibrant-butterfly-1234",
60-
displayName: "Vibrant Butterfly 1234",
60+
displayName: "Vibrant butterfly - 1234",
6161
existingFiles: map[string]string{
6262
"manifest.ts": string(testdata.ManifestTS),
6363
},
@@ -68,7 +68,7 @@ func Test_App_UpdateDefaultProjectFiles(t *testing.T) {
6868
},
6969
"Multiple manifest files exist": {
7070
appDirName: "vibrant-butterfly-1234",
71-
displayName: "Vibrant Butterfly 1234",
71+
displayName: "Vibrant butterfly - 1234",
7272
existingFiles: map[string]string{
7373
"manifest.json": string(testdata.ManifestJSON),
7474
"manifest.ts": string(testdata.ManifestTS),
@@ -81,7 +81,7 @@ func Test_App_UpdateDefaultProjectFiles(t *testing.T) {
8181
},
8282
"package.json file exists": {
8383
appDirName: "vibrant-butterfly-1234",
84-
displayName: "Vibrant Butterfly 1234",
84+
displayName: "Vibrant butterfly - 1234",
8585
existingFiles: map[string]string{
8686
"package.json": string(testdata.PackageJSON),
8787
},
@@ -92,7 +92,7 @@ func Test_App_UpdateDefaultProjectFiles(t *testing.T) {
9292
},
9393
"pyproject.toml file exists": {
9494
appDirName: "vibrant-butterfly-1234",
95-
displayName: "Vibrant Butterfly 1234",
95+
displayName: "Vibrant butterfly - 1234",
9696
existingFiles: map[string]string{
9797
"pyproject.toml": string(testdata.PyprojectTOML),
9898
},
@@ -103,7 +103,7 @@ func Test_App_UpdateDefaultProjectFiles(t *testing.T) {
103103
},
104104
"Multiple project files exist": {
105105
appDirName: "vibrant-butterfly-1234",
106-
displayName: "Vibrant Butterfly 1234",
106+
displayName: "Vibrant butterfly - 1234",
107107
existingFiles: map[string]string{
108108
"manifest.json": string(testdata.ManifestJSON),
109109
"package.json": string(testdata.PackageJSON),
@@ -168,22 +168,22 @@ func Test_RegexReplaceAppNameInManifest(t *testing.T) {
168168
}{
169169
"manifest.json is validate": {
170170
src: testdata.ManifestJSON,
171-
appName: "Vibrant Butterfly 1234",
171+
appName: "Vibrant butterfly - 1234",
172172
expectedSrc: testdata.ManifestJSONAppName,
173173
},
174174
"manifest.js is validate": {
175175
src: testdata.ManifestJS,
176-
appName: "Vibrant Butterfly 1234",
176+
appName: "Vibrant butterfly - 1234",
177177
expectedSrc: testdata.ManifestJSAppName,
178178
},
179179
"manifest.ts is validate": {
180180
src: testdata.ManifestTS,
181-
appName: "Vibrant Butterfly 1234",
181+
appName: "Vibrant butterfly - 1234",
182182
expectedSrc: testdata.ManifestTSAppName,
183183
},
184184
"manifest.ts with sdk is validate": {
185185
src: testdata.ManifestSDKTS,
186-
appName: "Vibrant Butterfly 1234",
186+
appName: "Vibrant butterfly - 1234",
187187
expectedSrc: testdata.ManifestSDKTSAppName,
188188
},
189189
}

test/testdata/manifest-app-name.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
major_version: 2
44
},
55
display_information: {
6-
name: 'Vibrant Butterfly 1234'
6+
name: 'Vibrant butterfly - 1234'
77
},
88
// This is a comment
99
features: {
@@ -13,7 +13,7 @@ export default {
1313
messages_tab_read_only_enabled: false
1414
},
1515
bot_user: {
16-
display_name: 'Vibrant Butterfly 1234'
16+
display_name: 'Vibrant butterfly - 1234'
1717
}
1818
},
1919
functions: {

test/testdata/manifest-app-name.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"major_version": 2
44
},
55
"display_information": {
6-
"name": "Vibrant Butterfly 1234"
6+
"name": "Vibrant butterfly - 1234"
77
},
88
"features": {
99
"app_home": {
@@ -12,7 +12,7 @@
1212
"messages_tab_read_only_enabled": false
1313
},
1414
"bot_user": {
15-
"display_name": "Vibrant Butterfly 1234"
15+
"display_name": "Vibrant butterfly - 1234"
1616
}
1717
},
1818
"functions": {

test/testdata/manifest-app-name.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default {
2222
"messages_tab_read_only_enabled": false
2323
},
2424
"bot_user": {
25-
"display_name": "Vibrant Butterfly 1234"
25+
"display_name": "Vibrant butterfly - 1234"
2626
}
2727
},
2828
"functions": {

test/testdata/manifest-sdk-app-name.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const obj = {
1111
};
1212

1313
export default Manifest({
14-
"name": "Vibrant Butterfly 1234",
14+
"name": "Vibrant butterfly - 1234",
1515
"description": "Reverse a string",
1616
// "runtime_environment": "slack",
1717
"runtime": "deno1.x",

0 commit comments

Comments
 (0)