@@ -77,9 +77,8 @@ describe('socket analytics', async () => {
7777
7878 \\xd7 Input error: Please review the input requirements and try again
7979
80- - The time filter must either be 7, 30 or 90 (ok)
81-
82- - You need to be logged in to use this command. See \`socket login\`. (missing Socket API token)"
80+ \\u221a The time filter must either be 7, 30 or 90
81+ \\xd7 You need to be logged in to use this command. See \`socket login\`. (missing Socket API token)"
8382 ` )
8483
8584 expect ( code , 'dry-run should exit with code 2 if missing input' ) . toBe ( 2 )
@@ -110,9 +109,8 @@ describe('socket analytics', async () => {
110109
111110 \\xd7 Input error: Please review the input requirements and try again
112111
113- - Legacy flags are no longer supported. See v1 migration guide. (received legacy flags)
114-
115- - The time filter must either be 7, 30 or 90 (ok)"
112+ \\xd7 Legacy flags are no longer supported. See v1 migration guide. (received legacy flags)
113+ \\u221a The time filter must either be 7, 30 or 90"
116114 ` )
117115
118116 expect ( code , 'dry-run should reject legacy flags with code 2' ) . toBe ( 2 )
@@ -170,9 +168,8 @@ describe('socket analytics', async () => {
170168
171169 \\xd7 Input error: Please review the input requirements and try again
172170
173- - When scope=repo, repo name should be the second argument (missing)
174-
175- - The time filter must either be 7, 30 or 90 (ok)"
171+ \\xd7 When scope=repo, repo name should be the second argument (missing)
172+ \\u221a The time filter must either be 7, 30 or 90"
176173 ` )
177174
178175 expect ( code , 'dry-run should exit with code 2 if missing input' ) . toBe ( 2 )
@@ -281,9 +278,8 @@ describe('socket analytics', async () => {
281278
282279 \\xd7 Input error: Please review the input requirements and try again
283280
284- - Legacy flags are no longer supported. See v1 migration guide. (received legacy flags)
285-
286- - The time filter must either be 7, 30 or 90 (ok)"
281+ \\xd7 Legacy flags are no longer supported. See v1 migration guide. (received legacy flags)
282+ \\u221a The time filter must either be 7, 30 or 90"
287283 ` )
288284
289285 expect ( code , 'dry-run should exit with code 2 if missing input' ) . toBe ( 2 )
0 commit comments