mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-09-26 01:42:13 +08:00
update-manpages: clean up symlink in checkout
We don't want symlinks in the git tree as it causes pain for Windows users. We also don't really need it as we can refactor the code we want to import slightly. Change-Id: I4537c07c50ee9449e9f53e0f132a386e8ffe16ec Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354356 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: LaMont Jones <lamontjones@google.com>
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
"""Unittests for the update_manpages module."""
|
||||
|
||||
import unittest
|
||||
import tests.update_manpages as um
|
||||
|
||||
from release import update_manpages
|
||||
|
||||
|
||||
class UpdateManpagesTest(unittest.TestCase):
|
||||
@@ -24,4 +25,4 @@ class UpdateManpagesTest(unittest.TestCase):
|
||||
def test_replace_regex(self):
|
||||
"""Check that replace_regex works."""
|
||||
data = '\n\033[1mSummary\033[m\n'
|
||||
self.assertEqual(um.replace_regex(data),'\nSummary\n')
|
||||
self.assertEqual(update_manpages.replace_regex(data),'\nSummary\n')
|
||||
|
@@ -1 +0,0 @@
|
||||
../release/update-manpages
|
Reference in New Issue
Block a user