[gitg] Fix writing config in encoding test



commit 2d4d793120819a7a3693e43ff88df84e7fcf5b04
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Tue Aug 4 22:43:50 2015 +0200

    Fix writing config in encoding test

 tests/libgitg/test-encoding.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libgitg/test-encoding.vala b/tests/libgitg/test-encoding.vala
index 6fc8a95..2848433 100644
--- a/tests/libgitg/test-encoding.vala
+++ b/tests/libgitg/test-encoding.vala
@@ -28,7 +28,7 @@ class Gitg.Test.Encoding : Gitg.Test.Repository
        {
                base.set_up();
 
-               d_repository.get_config().snapshot().set_string("i18n.commitencoding", "KOI8-R");
+               d_repository.get_config().set_string("i18n.commitencoding", "KOI8-R");
 
                index_modify("b", "staged changes\n");
                index_modify("a", "lala\n");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]