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

9
LINES

< > BotCompany Repo | #1003362 - assertStartsWith

JavaX fragment (include)

static void assertStartsWith(L a, L b) {
  if (!startsWith(a, b))
    fail(a + " does not start with " + b);
}

static void assertStartsWith(S a, S b) {
  if (!startsWith(a, b))
    fail(quote(a) + " does not start with " + quote(b));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003362
Snippet name: assertStartsWith
Eternal ID of this version: #1003362/3
Text MD5: 60653add6466fe9d03f9c322027793fd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-02 09:28:45
Source code size: 244 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 577 / 552
Version history: 2 change(s)
Referenced in: [show references]