Skip to content

Commit

Permalink
Adds word boundary to density test
Browse files Browse the repository at this point in the history
  • Loading branch information
NataKilar authored and comma committed Oct 11, 2023
1 parent 1eec959 commit f099a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/check-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ exactly 0 "static-marked globally scoped variables" -P '^(/|)var.*/static/.+'
exactly 1 "direct usage of decls_repository.get_decl()" 'decls_repository\.get_decl\('
exactly 21 "direct loc set" -P '(\t|;|\.)loc\s*=(?!=)'
exactly 0 "magic number mouse opacity set" -P 'mouse_opacity\s*=\s*[0-2]'
exactly 1 "magic number density set" -P 'density\s*=\s*[01]'
exactly 1 "magic number density set" -P '\bdensity\s*=\s*[01]'
exactly 0 "magic number anchored set" -P 'anchored\s*=\s*[01]'
exactly 7 "magic number opacity set" -P 'opacity\s*=\s*[01]'

Expand Down

0 comments on commit f099a05

Please sign in to comment.