mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-06-23 09:19:26 -04:00
feat(config): add api for config entry
This commit is contained in:
parent
cf677e488a
commit
7b8dfcc1af
6 changed files with 163 additions and 45 deletions
|
@ -173,8 +173,10 @@ void main() {
|
|||
|
||||
test('returns config for repository', () {
|
||||
final config = repo.config;
|
||||
expect(config['remote.origin.url'],
|
||||
'git://github.com/SkinnyMind/libgit2dart.git');
|
||||
expect(
|
||||
config['remote.origin.url'].value,
|
||||
'git://github.com/SkinnyMind/libgit2dart.git',
|
||||
);
|
||||
|
||||
config.free();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue