Skip to content

Commit

Permalink
Force C++03 in diagnostics FixIt test
Browse files Browse the repository at this point in the history
Fix Diagnostics_ClangCompleter_FixIt_Available test on Windows.
  • Loading branch information
micbou committed Sep 12, 2015
1 parent a66b686 commit f548333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ycmd/tests/diagnostics_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ def Diagnostics_ClangCompleter_FixIt_Available_test():
event_data = BuildRequest( contents = contents,
event_name = 'FileReadyToParse',
filetype = 'cpp',
compilation_flags = [ '-x' , 'c++',
compilation_flags = [ '-x', 'c++',
'-std=c++03',
'-Wall',
'-Wextra',
'-pedantic' ] )
Expand Down
2 changes: 1 addition & 1 deletion ycmd/tests/testdata/FixIt_Clang_cpp11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// A selection of the tests from llvm/tools/clang/test/FixIt/fixit-cxx0x.cpp
//
// Modified to test fixits across multiple lines and ensure that the number of
// diagnistics doesn't hit the compile threshold.
// diagnostics doesn't hit the compile threshold.
//

/* This is a test of the various code modification hints that only
Expand Down

0 comments on commit f548333

Please sign in to comment.