Skip to content

Commit 1201b06

Browse files
committed
Remove unused test output filters
1 parent 5061473 commit 1201b06

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/spec/spec_helper.rb

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -88,27 +88,6 @@ def clean_output(output)
8888
##################################################
8989
/(OpenJDK|Java) \d+\.\d+\.\d+(_\d+)?/ => '\1 $VERSION',
9090

91-
##################################################
92-
# APT
93-
##################################################
94-
# Apt-get download statistics (handles numbers with commas like 1,808 or decimals like 1.5)
95-
/Fetched [\d,]+(?:\.\d+)? [kKMG]i?B in \d+s \([\d,]+(?:\.\d+)? [kKMG]i?B\/s\)/ => 'Fetched $SIZE in $TIME ($SPEED)',
96-
# Apt-get cache hit lines (normalize non-deterministic order)
97-
/Hit:\d+ https?:\/\/.+ InRelease/ => 'Hit:$NUM $REPO InRelease',
98-
# Apt-get package download lines (normalize non-deterministic download order)
99-
/Get:\d+ .+ \[[\d,]+(?:\.\d+)? [kKMG]i?B\]/ => 'Get:$NUM $PACKAGE [$SIZE]',
100-
# Apt package counts (vary by environment updates)
101-
/\d+ upgraded, \d+ newly installed, \d+ to remove and \d+ not upgraded\./ => '$NUM upgraded, $NUM newly installed, $NUM to remove and $NUM not upgraded.',
102-
/Need to get [\d,]+(?:\.\d+)? [kKMG]i?B of archives\./ => 'Need to get $SIZE of archives.',
103-
/After this operation, [\d,]+(?:\.\d+)? [kKMG]i?B of additional disk space will be used\./ => 'After this operation, $SIZE of additional disk space will be used.',
104-
105-
##################################################
106-
# Curl
107-
##################################################
108-
# Curl progress output - non-deterministic due to network speed and ANSI control sequences
109-
# Replace entire progress section with placeholder (number of updates varies based on download speed)
110-
# Works for both regular deploy output (with "remote:" prefix) and CI output (without prefix)
111-
/((?:remote:)?\s+)% Total.*?(?=(?:remote:)?\s+(?:Retrieving|Compiling))/m => '\1$CURL_PROGRESS_OUTPUT' + "\n",
11291
##################################################
11392
# Clojure / Leiningen
11493
##################################################

0 commit comments

Comments
 (0)