From b376c41c636f870878273b656e946a4b99409298 Mon Sep 17 00:00:00 2001 From: Povilas Skruibis Date: Sun, 4 Dec 2016 16:08:03 +0200 Subject: [PATCH] Fix system_test Git since v2.11 no longer defaults to 7-hexdigits for short object abbreviation. See https://github.com/git/git/commit/e6c587c733b4634030b353f4024794b08bc86892 --- lib/elixir/test/elixir/system_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elixir/test/elixir/system_test.exs b/lib/elixir/test/elixir/system_test.exs index cf78c6fefc0..b50d78817fd 100644 --- a/lib/elixir/test/elixir/system_test.exs +++ b/lib/elixir/test/elixir/system_test.exs @@ -13,7 +13,7 @@ defmodule SystemTest do assert is_binary build_info[:version] if build_info[:revision] != "" do - assert String.length(build_info[:revision]) == 7 + assert String.length(build_info[:revision]) >= 7 end version_file = Path.join([__DIR__, "../../../..", "VERSION"]) |> Path.expand