I hereby claim:
- I am danmux on github.
- I am danmux (https://keybase.io/danmux) on keybase.
- I have a public key ASAe8Fp7aPFSOA7EUbWXDpzLPCcp6sm2XE295-pvrwCAUgo
To claim this, I am signing this object:
| package iban | |
| import "testing" | |
| import "reflect" | |
| func TestParseDE(t *testing.T) { | |
| fix := []struct { | |
| in string | |
| iban Iban | |
| err bool |
| package iban | |
| import "testing" | |
| func eq(t *testing.T, got, want, note string) { | |
| if got != want { | |
| t.Errorf("%s got <%s> wanted <%s>", note, got, want) | |
| } | |
| } |
| package iban | |
| import "testing" | |
| func ibanParseEqual(t *testing.T, iban, cc, cd, bb string, willErr bool) { | |
| got, err := Parse(iban) | |
| if willErr && err == nil { | |
| t.Error("expected error") | |
| } | |
| if !willErr && err != nil { |
| package iban | |
| import ( | |
| "testing" | |
| "libs/hbci/iban/assert" | |
| ) | |
| func TestParseIbanAsser(t *testing.T) { | |
| // Valid IBAN |
I hereby claim:
To claim this, I am signing this object:
| local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
| PROMPT='${ret_status} %{$fg[black]%}%c%{$reset_color%} $(git_prompt_info)' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
| ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[red]%}✗" | |
| ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
| git config --global --replace-all core.pager "less -F -X" |
| // remove will remove drop from the start or end of s. | |
| // If drop is not found at front or end of s then the | |
| // original string is returned. If drop occurs at the | |
| // start and end of s, it will only be dropped from the | |
| // start. | |
| func remove2(s, drop string) string { | |
| if strings.HasPrefix(s, drop) { | |
| return strings.TrimPrefix(s, drop) | |
| } | |
| return strings.TrimSuffix(s, drop) |