     (should (elisp/proto/map-contains-key map 234))))
 
 (ert-deftest elisp/proto/map/map-contains-key ()
-  (skip-unless (>= emacs-major-version 27))
   (let* ((message (elisp/proto/Test-new))
          (mutable-map (elisp/proto/mutable-field message 'map_int32_float))
          (map (elisp/proto/field message 'map_int32_float)))

                     '((-77 . 3.0) (5 . 9.5)))))))

(ert-deftest elisp/proto/map/map-apply ()
  (skip-unless (>= emacs-major-version 27))
  (let* ((message (elisp/proto/Test-new :map_int32_float '((123 . 4.5))))
         (map (elisp/proto/field message 'map_int32_float)))
    (should (equal (map-apply (lambda (key value) (list (1+ key) value)) map)
                   '((124 4.5))))))

(ert-deftest elisp/proto/map/cl-prin1-to-string ()
  (skip-unless (>= emacs-major-version 27))
  (let* ((message (elisp/proto/Test-new :map_int32_float '((123 . 4.5))))
         (map (elisp/proto/field message 'map_int32_float)))
    (should (equal (cl-prin1-to-string map)
                   "#<protocol buffer map with 1 entry [(123 4.5)]>"))))

(ert-deftest elisp/proto/map/map-copy ()
  (skip-unless (>= emacs-major-version 27))
  (let* ((message (elisp/proto/Test-new :map_int32_float '((123 . 4.5))))
         (mutable-map (elisp/proto/mutable-field message 'map_int32_float))
         (map (elisp/proto/field message 'map_int32_float))

    (should (eql (elisp/proto/map-get map 234) 4.5))))

(ert-deftest elisp/proto/map/map-elt ()
  (let* ((message (elisp/proto/Test-new))
         (mutable-map (elisp/proto/mutable-field message 'map_int32_float))
         (map (elisp/proto/field message 'map_int32_float)))
