diff options
author | Mike Frysinger <vapier@google.com> | 2020-02-19 17:55:22 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2020-02-19 23:09:05 +0000 |
commit | 77b4397a7376fe52fe0725ed538891c89da161ed (patch) | |
tree | 2cfc3683cf4ae3ec9a48fd766865bfb1492eb5fc /tests/fixtures | |
parent | 0334b8c6738929ed5982a6572135714045a977fa (diff) | |
download | git-repo-77b4397a7376fe52fe0725ed538891c89da161ed.tar.gz |
git_config: add GetInt helper
Change-Id: Ic034ae2fd962299d1b352e597b391b6582ecf44b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256052
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'tests/fixtures')
-rw-r--r-- | tests/fixtures/test.gitconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/fixtures/test.gitconfig b/tests/fixtures/test.gitconfig index 3c573c9e..9b3f2574 100644 --- a/tests/fixtures/test.gitconfig +++ b/tests/fixtures/test.gitconfig | |||
@@ -1,3 +1,13 @@ | |||
1 | [section] | 1 | [section] |
2 | empty | 2 | empty |
3 | nonempty = true | 3 | nonempty = true |
4 | boolinvalid = oops | ||
5 | booltrue = true | ||
6 | boolfalse = false | ||
7 | intinvalid = oops | ||
8 | inthex = 0x10 | ||
9 | inthexk = 0x10k | ||
10 | int = 10 | ||
11 | intk = 10k | ||
12 | intm = 10m | ||
13 | intg = 10g | ||