This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "testing" | |
| func Test_isValid(t *testing.T) { | |
| f := func(URL, clientSecret string, want, wantErr bool) { | |
| t.Helper() | |
| got, err := isValid(URL, clientSecret) | |
| if (err != nil) != wantErr { | |
| t.Errorf("isValid() error = %v, wantErr %v", err, wantErr) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Writable } from 'svelte/store' | |
| // eslint-disable-next-line @typescript-eslint/no-empty-function | |
| function noop(): void { } | |
| /** Callback to inform of a value updates. */ | |
| type Subscriber<T> = (value: T) => void; | |
| /** Unsubscribes from value updates. */ | |
| type Unsubscriber = () => void; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #get highest tag number | |
| VERSION=`git describe --abbrev=0 --tags` | |
| #replace . with space so can split into an array | |
| VERSION_BITS=(${VERSION//./ }) | |
| #get number parts and increase last one by 1 | |
| VNUM1=${VERSION_BITS[0]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* typography.css */ | |
| :root { | |
| /* Label Small */ | |
| --md-sys-typescale-label-small-text-transform: unset; | |
| --md-sys-typescale-label-small-axis-value: unset; | |
| --md-sys-typescale-label-small-font-style: unset; | |
| --md-sys-typescale-label-small-text-decoration: unset; | |
| /* Label Small line height */ |
OlderNewer