branch: externals/csharp-mode commit 81cf94d95131c9f504a5c80271a54a2005218915 Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: Jostein Kjønigsen <jost...@kjonigsen.net>
Update test-data. Give Emacs less reasons to fail about using it. Fix one failing test. --- csharp-mode-tests.el | 3 +++ test-files/msbuild-concurrent-warning.txt | 2 +- test-files/msbuild-square-brackets.txt | 2 +- test-files/msbuild-warning.txt | 2 +- test-files/xbuild-warning.txt | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/csharp-mode-tests.el b/csharp-mode-tests.el index 2420b62..0021ce0 100644 --- a/csharp-mode-tests.el +++ b/csharp-mode-tests.el @@ -359,3 +359,6 @@ (should (equal orig-content indented-content)))) ;;(ert-run-tests-interactively t) +;; (local-set-key (kbd "<f6>") '(lambda () +;; (interactive) +;; (ert-run-tests-interactively t))) diff --git a/test-files/msbuild-concurrent-warning.txt b/test-files/msbuild-concurrent-warning.txt index a20ac63..fe71e62 100644 --- a/test-files/msbuild-concurrent-warning.txt +++ b/test-files/msbuild-concurrent-warning.txt @@ -1,4 +1,4 @@ --*- mode: compilation; default-directory: "~/" -*- +-*- mode: compilation; -*- Compilation started at Mon Apr 20 01:44:21 bash -c "for m in *akefile; do break; done; if [[ ${m} != \"*akefile\" ]]; then PATH=\"${PATH}:/c/Program Files (x86)/MSBuild/14.0/Bin:/c/Program Files/Emacs/bin\" make; else set -o pipefail; 'c:/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe' //m; fi" diff --git a/test-files/msbuild-square-brackets.txt b/test-files/msbuild-square-brackets.txt index eb52ca1..d333b76 100644 --- a/test-files/msbuild-square-brackets.txt +++ b/test-files/msbuild-square-brackets.txt @@ -1,4 +1,4 @@ --*- mode: compilation; default-directory: "~/Documents/Visual Studio 2015/Projects/ArrayThingError/ArrayThingError/" -*- +-*- mode: compilation; -*- Compilation started at Wed May 13 19:21:20 bash -c "for m in *akefile; do break; done; if [[ ${m} != \"*akefile\" ]]; then make; else set -o pipefail; 'c:/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe' //m; fi" diff --git a/test-files/msbuild-warning.txt b/test-files/msbuild-warning.txt index 2411806..9cf530a 100644 --- a/test-files/msbuild-warning.txt +++ b/test-files/msbuild-warning.txt @@ -1,4 +1,4 @@ --*- xmode: compilation; default-directory: "~/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/" -*- +-*- xmode: compilation; -*- Compilation started at Sat Feb 21 10:24:14 "C:\Program Files (x86)\MSBuild\12.0\Bin\Msbuild.exe" diff --git a/test-files/xbuild-warning.txt b/test-files/xbuild-warning.txt index 5a77ba2..9cb1e3a 100644 --- a/test-files/xbuild-warning.txt +++ b/test-files/xbuild-warning.txt @@ -1,4 +1,4 @@ --*- xmode: compilation; default-directory: "~/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/" -*- +-*- xmode: compilation; -*- Compilation started at Fri Feb 20 22:55:05 xbuild /p:GenerateFullPaths=true