Skip to content

Commit

Permalink
browser: disable assertions when debug mode is off
Browse files Browse the repository at this point in the history
  • Loading branch information
LinqLover committed Dec 20, 2024
1 parent 2c67ff2 commit 6600ae8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
error handling
assert: aBlock description: aStringOrBlock

SwaLint debug ifFalse: [^ self].
^ super assert: aBlock description: aStringOrBlock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"class" : {
"mapTestsFrom:" : "ct 12/12/2024 04:14" },
"instance" : {
"assert:description:" : "ct 12/20/2024 03:32",
"basicMakeTestFrom:" : "ct 12/18/2024 00:01",
"buildCategoryTree:" : "ct 12/18/2024 22:03",
"buildTest:" : "ct 12/18/2024 00:02",
Expand Down

0 comments on commit 6600ae8

Please sign in to comment.