diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index a26cb3f9b81483a9b3807caccdaffacf37385882..9ec614a9670d55e037d8ec962bc27a1ecd309d7f 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -86,4 +86,5 @@ target_link_libraries (
 # mode: cmake
 # cmake-tab-width: 4
 # indent-tabs-mode: nil
+# require-final-newline: nil
 # End:
diff --git a/tests/classic_src/Fields/Interpolation/CMakeLists.txt b/tests/classic_src/Fields/Interpolation/CMakeLists.txt
index 055062931d8cbf109b4dc7d0a97d59e2f9689ad1..2611bbe3937eab29904de576c804a319688a3194 100644
--- a/tests/classic_src/Fields/Interpolation/CMakeLists.txt
+++ b/tests/classic_src/Fields/Interpolation/CMakeLists.txt
@@ -19,4 +19,5 @@ add_sources(${_SRCS})
 # mode: cmake
 # cmake-tab-width: 4
 # indent-tabs-mode: nil
-# End:
+# require-final-newline: nil
+# End:
\ No newline at end of file