Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1030899 // assertEmptyVerbose

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2710L/16K).

1  
static void assertEmptyVerbose(S msg default null, O o) {
2  
  if (!empty(o))
3  
    fail((msg != null ? msg + ": " : "not empty: ") + o);
4  
  print("OK: empty");
5  
}

Author comment

Began life as a copy of #1003364

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030899
Snippet name: assertEmptyVerbose
Eternal ID of this version: #1030899/1
Text MD5: 6ace4056c16dca104295cf4065426f8c
Transpilation MD5: 82f3e09f181f7569836c4bb177e9b681
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-07 23:01:50
Source code size: 160 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 178 / 272
Referenced in: [show references]